Commit dc8ed672 authored by Gustavo F. Padovan's avatar Gustavo F. Padovan

Bluetooth: Initialize LE connection count

le_num needs to be set to zero.
Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
parent 01e2821f
...@@ -385,6 +385,7 @@ static inline void hci_conn_hash_init(struct hci_dev *hdev) ...@@ -385,6 +385,7 @@ static inline void hci_conn_hash_init(struct hci_dev *hdev)
INIT_LIST_HEAD(&h->list); INIT_LIST_HEAD(&h->list);
h->acl_num = 0; h->acl_num = 0;
h->sco_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) static inline void hci_conn_hash_add(struct hci_dev *hdev, struct hci_conn *c)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment