diff options
| author | 2014-07-04 12:37:19 +0300 | |
|---|---|---|
| committer | 2014-07-04 11:58:09 +0200 | |
| commit | a2f41a8f370a940629a0e42258ab9e941b1dbc83 (patch) | |
| tree | b0e8d1700c2b43921e779e05ac3e17d6f39dfb83 /kernel/task_work.c | |
| parent | Bluetooth: Convert pend_le_reports into a list (diff) | |
Bluetooth: Simplify use of hci_pend_le_conns_clear()
Now that pend_le_connections is a list of hci_conn_params entries we can
simply remove items from that list as we iterate through the global list
of le_conn_params. This also moves the responsibility of calling
hci_update_background_scan() to the functions that were previously
calling hci_pend_le_conns_clear(). The only user that's left for
hci_pend_le_conns_clear() is hci_dev_do_close() which anyway does not
need to call hci_update_background_scan().
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
