Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290901
b: refs/heads/master
c: e72acc1
h: refs/heads/master
i:
  290899: a07ae45
v: v3
  • Loading branch information
Andre Guedes authored and Johan Hedberg committed Feb 13, 2012
1 parent 14649d4 commit 38b3134
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 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: 2f304d1e8bf89f2258a6c2e08c0bc2c5debd08f7
refs/heads/master: e72acc13c770a82b4ce4a07e9716f29320eae0f8
5 changes: 0 additions & 5 deletions trunk/net/bluetooth/hci_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,16 +280,13 @@ static void hci_conn_timeout(struct work_struct *work)
{
struct hci_conn *conn = container_of(work, struct hci_conn,
disc_work.work);
struct hci_dev *hdev = conn->hdev;
__u8 reason;

BT_DBG("conn %p state %d", conn, conn->state);

if (atomic_read(&conn->refcnt))
return;

hci_dev_lock(hdev);

switch (conn->state) {
case BT_CONNECT:
case BT_CONNECT2:
Expand All @@ -309,8 +306,6 @@ static void hci_conn_timeout(struct work_struct *work)
conn->state = BT_CLOSED;
break;
}

hci_dev_unlock(hdev);
}

/* Enter sniff mode */
Expand Down

0 comments on commit 38b3134

Please sign in to comment.