summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2011-12-14 20:56:12 -0200
committerGustavo F. Padovan <padovan@profusion.mobi>2011-12-16 18:16:14 -0200
commitdc8ed672caaab054caf62557e46dfed08848a85f (patch)
tree99212e1c490b783b7465214d48564d41ca3a510f /include/net/bluetooth
parent01e2821fbee26267941cdcd5b4f74d2c499f2daa (diff)
downloadblackbird-op-linux-dc8ed672caaab054caf62557e46dfed08848a85f.tar.gz
blackbird-op-linux-dc8ed672caaab054caf62557e46dfed08848a85f.zip
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.h1
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)
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)
OpenPOWER on IntegriCloud