projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.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
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
net
/
bluetooth
/
l2cap_core.c
diff --git
a/net/bluetooth/l2cap_core.c
b/net/bluetooth/l2cap_core.c
index 014fdec17113c74f64272bd3d66eb10081e809ca..0369a9bf60c607e0884361925d3525132a836c89 100644
(file)
--- a/
net/bluetooth/l2cap_core.c
+++ b/
net/bluetooth/l2cap_core.c
@@
-1171,7
+1171,7
@@
int l2cap_chan_connect(struct l2cap_chan *chan)
if (!hdev)
return -EHOSTUNREACH;
- hci_dev_lock
_bh
(hdev);
+ hci_dev_lock(hdev);
auth_type = l2cap_get_auth_type(chan);
@@
-1214,7
+1214,7
@@
int l2cap_chan_connect(struct l2cap_chan *chan)
err = 0;
done:
- hci_dev_unlock
_bh
(hdev);
+ hci_dev_unlock(hdev);
hci_dev_put(hdev);
return err;
}