]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Bluetooth: L2CAP: Fix returning correct LE CoC response codes
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 2 Nov 2015 12:39:15 +0000 (14:39 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 4 Nov 2015 06:21:02 +0000 (07:21 +0100)
commit2f9c793bd2bcef037fd379820b1cd28ea5f9dd56
tree107bb2e3779f5e2d30f7d7b19963302d0c0b9974
parent58ef0dee40a97e25f8562b2cd32cc178d5a33331
Bluetooth: L2CAP: Fix returning correct LE CoC response codes

The core spec defines specific response codes for situations when the
received CID is incorrect. Add the defines for these and return them
as appropriate from the LE Connect Request handler function.

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