瀏覽代碼

Bluetooth: Initialize LE connection count

le_num needs to be set to zero.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Gustavo F. Padovan 14 年之前
父節點
當前提交
dc8ed672ca
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/net/bluetooth/hci_core.h

+ 1 - 0
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)