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>
Thu, 5 Nov 2015 03:04:00 +0000 (04:04 +0100)
commit8a7889cc6e2dbbace114130f4efd9b77452069cd
tree08d90f87824ae7341d50578b483c4d1e43e2c526
parent2ab216a7a9ca89d77388ad3f22a31f752dec5897
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