]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Only one command per L2CAP LE signalling is supported
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Oct 2013 08:26:37 +0000 (01:26 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 3 Oct 2013 13:09:59 +0000 (16:09 +0300)
commit36e4e00ae70694083d84d7e534fb36b00ed2165d
tree31d95295dbdc1d10a520ea4b8670f45979501f2d
parent67548cb2f07c4a662c85366dfa4cfdc9797cd4d3
Bluetooth: Only one command per L2CAP LE signalling is supported

The Bluetooth specification makes it clear that only one command
should be present in the L2CAP LE signalling packet. So tighten
the checks here and restrict it to exactly one command.

This is different from L2CAP BR/EDR signalling where multiple
commands can be part of the same packet.

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