diff options
| author | 2014-07-03 19:33:50 +0300 | |
|---|---|---|
| committer | 2014-07-03 18:45:08 +0200 | |
| commit | bb5ce4d018f896403d7a394ec56a550e7890b563 (patch) | |
| tree | e2cd7514700e77928dceddd2536cc45cef44c38a /kernel/task_work.c | |
| parent | Bluetooth: Use hci_conn_params in pend_le_conns (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>
Diffstat (limited to 'kernel/task_work.c')
0 files changed, 0 insertions, 0 deletions
