diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-07-04 12:37:23 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-07-04 11:58:09 +0200 |
commit | d7347f3cc2b63be0ea35b3239faf4b32fde2fb44 (patch) | |
tree | d7a58adfad32d8de4d8907f33f2041a89f37c5f7 /include | |
parent | ae44e5d19e870385d1e73ce248c19ea4761bb40c (diff) | |
download | linux-stable-d7347f3cc2b63be0ea35b3239faf4b32fde2fb44.tar.gz linux-stable-d7347f3cc2b63be0ea35b3239faf4b32fde2fb44.tar.bz2 linux-stable-d7347f3cc2b63be0ea35b3239faf4b32fde2fb44.zip |
Bluetooth: Fix clearing and restarting all LE actions on power cycle
When powering off (hci_dev_do_close) we should clear both the
pend_le_reports and pend_le_conns types of entries. When powering on
respectively we should populate both lists. This patch converts the
hci_pend_le_conns_clear() function into hci_pend_le_actions_clear()
(which can now be static) and converts the restart_le_auto_conns()
function into restart_le_actions().
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 758146c513d3..9208b18cb1e9 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -871,7 +871,6 @@ void hci_conn_params_clear_enabled(struct hci_dev *hdev); struct hci_conn_params *hci_pend_le_conn_lookup(struct hci_dev *hdev, bdaddr_t *addr, u8 addr_type); void hci_pend_le_conn_add(struct hci_dev *hdev, struct hci_conn_params *params); -void hci_pend_le_conns_clear(struct hci_dev *hdev); void hci_update_background_scan(struct hci_dev *hdev); |