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:
Johan Hedberg 2010-10-27 12:22:16 -04:00
parent 0c3e080828
commit 80f5ccd70c

View File

@ -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);