Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243689
b: refs/heads/master
c: 6994ca5
h: refs/heads/master
i:
  243687: 926ebaa
v: v3
  • Loading branch information
Johan Hedberg authored and Gustavo F. Padovan committed Mar 24, 2011
1 parent b404708 commit 3efec40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8763b4da41132e2d5a896cd5e629c3c0a652205e
refs/heads/master: 6994ca5e8ade57d18b7d1e05aad040c441a2ad37
2 changes: 2 additions & 0 deletions trunk/net/bluetooth/mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1230,6 +1230,8 @@ static int user_confirm_reply(struct sock *sk, u16 index, unsigned char *data,
if (!hdev)
return cmd_status(sk, index, mgmt_op, ENODEV);

hci_dev_lock_bh(hdev);

if (!test_bit(HCI_UP, &hdev->flags)) {
err = cmd_status(sk, index, mgmt_op, ENETDOWN);
goto failed;
Expand Down

0 comments on commit 3efec40

Please sign in to comment.