diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-12-15 02:56:12 +0400 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-12-17 00:16:14 +0400 |
commit | dc8ed672caaab054caf62557e46dfed08848a85f (patch) | |
tree | 99212e1c490b783b7465214d48564d41ca3a510f | |
parent | 01e2821fbee26267941cdcd5b4f74d2c499f2daa (diff) | |
download | linux-dc8ed672caaab054caf62557e46dfed08848a85f.tar.xz |
Bluetooth: Initialize LE connection count
le_num needs to be set to zero.
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
-rw-r--r-- | include/net/bluetooth/hci_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 7f815c075711..8e33c66eac73 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -385,6 +385,7 @@ static inline void hci_conn_hash_init(struct hci_dev *hdev) INIT_LIST_HEAD(&h->list); h->acl_num = 0; h->sco_num = 0; + h->le_num = 0; } static inline void hci_conn_hash_add(struct hci_dev *hdev, struct hci_conn *c) |