mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-16 08:44:38 +08:00
Remove remote name requests upon connect complete events
Newer kernel versions will deal with the automated name request for connection complete events, so remove it from userspace to avoid unnecessary traffic and potential interop issues.
This commit is contained in:
parent
0c3e080828
commit
80f5ccd70c
@ -935,8 +935,6 @@ static inline void conn_complete(int dev, int dev_id, bdaddr_t *sba, void *ptr)
|
||||
|
||||
update_lastused(sba, &evt->bdaddr);
|
||||
|
||||
btd_adapter_get_remote_name(adapter, &evt->bdaddr);
|
||||
|
||||
/* check if the remote version needs be requested */
|
||||
ba2str(sba, local_addr);
|
||||
ba2str(&evt->bdaddr, peer_addr);
|
||||
|
Loading…
Reference in New Issue
Block a user