commit | bb5ce4d018f896403d7a394ec56a550e7890b563 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Thu Jul 03 19:33:50 2014 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Thu Jul 03 18:45:08 2014 +0200 |
tree | e2cd7514700e77928dceddd2536cc45cef44c38a | |
parent | 912b42ef05a1e9f72a82c21d678a29c5055045d5 [diff] |
Bluetooth: Remove unnecessary checks for auto-connected devices If a device is in the pend_le_conns list it cannot at the same time also have the need to be notified through mgmt_device_found. By making check_pending_le_conn return whether it found an entry or not we can avoid unnecessary checks in process_adv_report(). Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>