summaryrefslogtreecommitdiff
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
parent01e2821fbee26267941cdcd5b4f74d2c499f2daa (diff)
downloadlinux-3.10-dc8ed672caaab054caf62557e46dfed08848a85f.tar.gz
linux-3.10-dc8ed672caaab054caf62557e46dfed08848a85f.tar.bz2
linux-3.10-dc8ed672caaab054caf62557e46dfed08848a85f.zip
Bluetooth: Initialize LE connection count
le_num needs to be set to zero. Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
-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 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)