Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279256
b: refs/heads/master
c: 3e9c40a
h: refs/heads/master
v: v3
  • Loading branch information
Gustavo F. Padovan committed Dec 16, 2011
1 parent df54c73 commit fc4e31c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 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: f9c3123b5a7c9585902927b14983e6635aca00c6
refs/heads/master: 3e9c40a6f72a4ee7a978204cac00f91ad08bbe9b
10 changes: 2 additions & 8 deletions trunk/net/bluetooth/hci_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -807,17 +807,11 @@ void hci_conn_enter_sniff_mode(struct hci_conn *conn)
void hci_conn_hash_flush(struct hci_dev *hdev)
{
struct hci_conn_hash *h = &hdev->conn_hash;
struct list_head *p;
struct hci_conn *c;

BT_DBG("hdev %s", hdev->name);

p = h->list.next;
while (p != &h->list) {
struct hci_conn *c;

c = list_entry(p, struct hci_conn, list);
p = p->next;

list_for_each_entry(c, &h->list, list) {
c->state = BT_CLOSED;

hci_proto_disconn_cfm(c, HCI_ERROR_LOCAL_HOST_TERM);
Expand Down

0 comments on commit fc4e31c

Please sign in to comment.