]> git.baikalelectronics.ru Git - kernel.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>
Thu, 5 Nov 2015 03:04:00 +0000 (04:04 +0100)
commitb0773e8bafb27d2012292635e178da8ceb67659a
tree08d90f87824ae7341d50578b483c4d1e43e2c526
parent14d8228a5590e200d5812e313cff5a637bbb0acc
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