Skip to content

Commit

Permalink
Bluetooth: Initialize LE connection count
Browse files Browse the repository at this point in the history
le_num needs to be set to zero.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
  • Loading branch information
Gustavo F. Padovan committed Dec 16, 2011
1 parent 01e2821 commit dc8ed67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/net/bluetooth/hci_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit dc8ed67

Please sign in to comment.