Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256401
b: refs/heads/master
c: 8aded71
h: refs/heads/master
i:
  256399: 3f23c25
v: v3
  • Loading branch information
Andre Guedes authored and Gustavo F. Padovan committed Jul 7, 2011
1 parent f17948a commit 765ea02
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 2e65c9d2c5206eb24439f2dd2daa2f6702df358e
refs/heads/master: 8aded7110a5625bc00aef05e94dd4b1a9cf3605f
8 changes: 4 additions & 4 deletions trunk/net/bluetooth/hci_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ int hci_blacklist_add(struct hci_dev *hdev, bdaddr_t *bdaddr)
if (bacmp(bdaddr, BDADDR_ANY) == 0)
return -EBADF;

hci_dev_lock(hdev);
hci_dev_lock_bh(hdev);

if (hci_blacklist_lookup(hdev, bdaddr)) {
err = -EEXIST;
Expand All @@ -1264,7 +1264,7 @@ int hci_blacklist_add(struct hci_dev *hdev, bdaddr_t *bdaddr)
err = 0;

err:
hci_dev_unlock(hdev);
hci_dev_unlock_bh(hdev);
return err;
}

Expand All @@ -1273,7 +1273,7 @@ int hci_blacklist_del(struct hci_dev *hdev, bdaddr_t *bdaddr)
struct bdaddr_list *entry;
int err = 0;

hci_dev_lock(hdev);
hci_dev_lock_bh(hdev);

if (bacmp(bdaddr, BDADDR_ANY) == 0) {
hci_blacklist_clear(hdev);
Expand All @@ -1290,7 +1290,7 @@ int hci_blacklist_del(struct hci_dev *hdev, bdaddr_t *bdaddr)
kfree(entry);

done:
hci_dev_unlock(hdev);
hci_dev_unlock_bh(hdev);
return err;
}

Expand Down

0 comments on commit 765ea02

Please sign in to comment.