提交 dc8ed672 编写于 作者: G Gustavo F. Padovan

Bluetooth: Initialize LE connection count

le_num needs to be set to zero.
Signed-off-by: NGustavo F. Padovan <padovan@profusion.mobi>
上级 01e2821f
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册