projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bluetooth: Replace spin_lock by mutex in hci_dev
[deliverable/linux.git]
/
net
/
bluetooth
/
sco.c
diff --git
a/net/bluetooth/sco.c
b/net/bluetooth/sco.c
index a324b009e34b7bc1b66a91ce9e3a5188169ec04c..725e10d487f2fc7e767d0f024e365265b0869afd 100644
(file)
--- a/
net/bluetooth/sco.c
+++ b/
net/bluetooth/sco.c
@@
-189,7
+189,7
@@
static int sco_connect(struct sock *sk)
if (!hdev)
return -EHOSTUNREACH;
- hci_dev_lock
_bh
(hdev);
+ hci_dev_lock(hdev);
if (lmp_esco_capable(hdev) && !disable_esco)
type = ESCO_LINK;
@@
-225,7
+225,7
@@
static int sco_connect(struct sock *sk)
}
done:
- hci_dev_unlock
_bh
(hdev);
+ hci_dev_unlock(hdev);
hci_dev_put(hdev);
return err;
}
This page took
0.029246 seconds
and
5
git commands to generate.