summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-10-02 23:51:49 -0700
committerJohan Hedberg <johan.hedberg@intel.com>2013-10-03 10:07:58 +0300
commit94b6a09b67ac4f0772d298aec0973fe3261150a0 (patch)
treec2a90540c935e7e6a000e6633036f3a01b3e2dc2 /net
parenta28776296c7e3f2d0bb34e0e746968627fe588e8 (diff)
downloadlinux-94b6a09b67ac4f0772d298aec0973fe3261150a0.tar.bz2
Bluetooth: Don't copy L2CAP LE signalling to raw sockets
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>
Diffstat (limited to 'net')
-rw-r--r--net/bluetooth/l2cap_core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c
index 0661ca693db5..65c53719b76c 100644
--- 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;