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)
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>

No differences found