Bluetooth: Reject LE CoC commands when the feature is not enabled
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 3 Dec 2013 07:51:51 +0000 (09:51 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Dec 2013 15:05:34 +0000 (07:05 -0800)
commit3af8ace653c83c663d4b97c6ea7f01463d366bf9
treea7e4ff16deb9b1a98f073b50eb653011ed736def
parentfad5fc89594de31388572a26f33caa7c30a23782
Bluetooth: Reject LE CoC commands when the feature is not enabled

Since LE CoC support needs to be enabled through a module option for now
we need to reject any related signaling PDUs in addition to rejecting
the creation of LE CoC sockets (which we already do).

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