Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290914
b: refs/heads/master
c: 3c4e0df
h: refs/heads/master
v: v3
  • Loading branch information
Andrei Emeltchenko authored and Johan Hedberg committed Feb 13, 2012
1 parent 7d7cd8b commit 79e4915
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 28424707a2e4ad38ab546d2ed5e3d6b035a84258
refs/heads/master: 3c4e0df028935618d052235ba85bc7079be13394
4 changes: 2 additions & 2 deletions trunk/net/bluetooth/hci_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -795,11 +795,11 @@ void hci_conn_enter_active_mode(struct hci_conn *conn, __u8 force_active)
void hci_conn_hash_flush(struct hci_dev *hdev)
{
struct hci_conn_hash *h = &hdev->conn_hash;
struct hci_conn *c;
struct hci_conn *c, *n;

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

list_for_each_entry_rcu(c, &h->list, list) {
list_for_each_entry_safe(c, n, &h->list, list) {
c->state = BT_CLOSED;

hci_proto_disconn_cfm(c, HCI_ERROR_LOCAL_HOST_TERM);
Expand Down

0 comments on commit 79e4915

Please sign in to comment.