projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a287762
)
Bluetooth: Don't copy L2CAP LE signalling to raw sockets
author
Marcel Holtmann
<marcel@holtmann.org>
Thu, 3 Oct 2013 06:51:49 +0000
(23:51 -0700)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 3 Oct 2013 07:07:58 +0000
(10:07 +0300)
The L2CAP raw sockets are only used for BR/EDR signalling. Packets
on LE links should not be forwarded there.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/l2cap_core.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/l2cap_core.c
b/net/bluetooth/l2cap_core.c
index 0661ca693db5c2277d55f1d1d4633686561a5948..65c53719b76ce89c0b204d403b21b136ed45d5b0 100644
(file)
--- a/
net/bluetooth/l2cap_core.c
+++ b/
net/bluetooth/l2cap_core.c
@@
-5327,8
+5327,6
@@
static inline void l2cap_le_sig_channel(struct l2cap_conn *conn,
struct l2cap_cmd_hdr cmd;
int err;
- l2cap_raw_recv(conn, skb);
-
if (hcon->type != LE_LINK)
goto drop;