]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Restrict blocked device check in l2cap_recv_frame to LE
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 6 Jul 2014 08:03:36 +0000 (11:03 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 6 Jul 2014 08:13:56 +0000 (10:13 +0200)
commitbb38037c59e92ca470d72ae0f23e8a01d1872e9a
treeff054f3487d2ad4986fed39fa1fa147d97851032
parent75820e1d7b43097a2e18f177ec365692fc85ce16
Bluetooth: Restrict blocked device check in l2cap_recv_frame to LE

BR/EDR has the connection request and connection request rejection, but
LE doesn't have anything similar. We still request LE connections to
blocked devices to be disconnected but it's possible that ACL data slips
through before that. The check in l2cap_recv_frame really only needs to
be for LE and not BR/EDR because of this.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c