From: Gustavo F. Padovan Date: Wed, 14 Dec 2011 22:56:12 +0000 (-0200) Subject: Bluetooth: Initialize LE connection count X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=dc8ed672caaab054caf62557e46dfed08848a85f;p=linux.git Bluetooth: Initialize LE connection count le_num needs to be set to zero. Signed-off-by: Gustavo F. Padovan --- diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 7f815c0757119..8e33c66eac73e 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)