Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40059
b: refs/heads/master
c: 7b19ffc
h: refs/heads/master
i:
  40057: 20b6d6a
  40055: 0332910
v: v3
  • Loading branch information
Marcel Holtmann authored and David S. Miller committed Oct 20, 2006
1 parent 7261733 commit 73eebfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 8602b4fe6e82d5eeb479efd3bca19bc3dd722f5a
refs/heads/master: 7b19ffc40b0247fcfe083644fdb621fdb3c05ef6
6 changes: 2 additions & 4 deletions trunk/net/bluetooth/hidp/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -507,12 +507,10 @@ static int hidp_session(void *arg)

hidp_del_timer(session);

if (intr_sk->sk_state != BT_CONNECTED)
wait_event_timeout(*(ctrl_sk->sk_sleep), (ctrl_sk->sk_state == BT_CLOSED), HZ);

fput(session->intr_sock->file);

wait_event_timeout(*(intr_sk->sk_sleep), (intr_sk->sk_state == BT_CLOSED), HZ);
wait_event_timeout(*(ctrl_sk->sk_sleep),
(ctrl_sk->sk_state == BT_CLOSED), msecs_to_jiffies(500));

fput(session->ctrl_sock->file);

Expand Down

0 comments on commit 73eebfa

Please sign in to comment.