mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-13 16:40:22 +00:00
Bluetooth: Initialize LE connection count
le_num needs to be set to zero. Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
This commit is contained in:
parent
01e2821fbe
commit
dc8ed672ca
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user