diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-12-14 17:56:12 -0500 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-12-16 15:16:14 -0500 |
commit | dc8ed672caaab054caf62557e46dfed08848a85f (patch) | |
tree | 99212e1c490b783b7465214d48564d41ca3a510f /include/net/bluetooth | |
parent | 01e2821fbee26267941cdcd5b4f74d2c499f2daa (diff) |
Bluetooth: Initialize LE connection count
le_num needs to be set to zero.
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth')
-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) | |||
385 | INIT_LIST_HEAD(&h->list); | 385 | INIT_LIST_HEAD(&h->list); |
386 | h->acl_num = 0; | 386 | h->acl_num = 0; |
387 | h->sco_num = 0; | 387 | h->sco_num = 0; |
388 | h->le_num = 0; | ||
388 | } | 389 | } |
389 | 390 | ||
390 | static inline void hci_conn_hash_add(struct hci_dev *hdev, struct hci_conn *c) | 391 | static inline void hci_conn_hash_add(struct hci_dev *hdev, struct hci_conn *c) |