]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Bluetooth: Don't copy L2CAP LE signalling to raw sockets
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Oct 2013 06:51:49 +0000 (23:51 -0700)
committerJohan 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

index 0661ca693db5c2277d55f1d1d4633686561a5948..65c53719b76ce89c0b204d403b21b136ed45d5b0 100644 (file)
@@ -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;