From: Gustavo F. Padovan Date: Wed, 14 Dec 2011 22:56:12 +0000 (-0200) Subject: Bluetooth: Initialize LE connection count X-Git-Tag: v3.3-rc1~182^2~44^2~71^2~40 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=dc8ed672caaab054caf62557e46dfed08848a85f;p=~emulex%2Finfiniband.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 7f815c07571..8e33c66eac7 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)