projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bluetooth : __rfcomm_dlc_close lock fix
[firefly-linux-kernel-4.4.55.git]
/
net
/
bluetooth
/
hci_sock.c
diff --git
a/net/bluetooth/hci_sock.c
b/net/bluetooth/hci_sock.c
index b5d4019d3572c59eefe328a22085645d6132b136..1d36c093523b988af1c93f0ce5b39d225c7d2b0c 100644
(file)
--- a/
net/bluetooth/hci_sock.c
+++ b/
net/bluetooth/hci_sock.c
@@
-84,7
+84,7
@@
static struct hci_sec_filter hci_sec_filter = {
};
static struct bt_sock_list hci_sk_list = {
- .lock =
RW_LOCK_UNLOCKED
+ .lock =
__RW_LOCK_UNLOCKED(hci_sk_list.lock)
};
/* Send frame to RAW socket */