Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328193
b: refs/heads/master
c: 6b536b5
h: refs/heads/master
i:
  328191: ac852d2
v: v3
  • Loading branch information
Andrei Emeltchenko authored and Gustavo Padovan committed Sep 8, 2012
1 parent 794a265 commit 97489f1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7923296f3f9eebbe3d7bb4c99d73bd7a226e0146
refs/heads/master: 6b536b5e5e1da32f3ba1e3f42c7bf2f80d37dc6b
9 changes: 0 additions & 9 deletions trunk/include/net/bluetooth/hci_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -428,15 +428,6 @@ static inline bool hci_conn_ssp_enabled(struct hci_conn *conn)
test_bit(HCI_CONN_SSP_ENABLED, &conn->flags);
}

static inline void hci_conn_hash_init(struct hci_dev *hdev)
{
struct hci_conn_hash *h = &hdev->conn_hash;
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)
{
struct hci_conn_hash *h = &hdev->conn_hash;
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/bluetooth/hci_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1652,6 +1652,7 @@ struct hci_dev *hci_alloc_dev(void)
INIT_LIST_HEAD(&hdev->link_keys);
INIT_LIST_HEAD(&hdev->long_term_keys);
INIT_LIST_HEAD(&hdev->remote_oob_data);
INIT_LIST_HEAD(&hdev->conn_hash.list);

INIT_WORK(&hdev->rx_work, hci_rx_work);
INIT_WORK(&hdev->cmd_work, hci_cmd_work);
Expand All @@ -1674,7 +1675,6 @@ struct hci_dev *hci_alloc_dev(void)

hci_init_sysfs(hdev);
discovery_init(hdev);
hci_conn_hash_init(hdev);

return hdev;
}
Expand Down

0 comments on commit 97489f1

Please sign in to comment.