summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorMarcin Kraglak <marcin.kraglak@tieto.com>2017-03-08 14:09:41 +0100
committerMarcel Holtmann <marcel@holtmann.org>2017-04-12 22:02:37 +0200
commitd8edd9ed156a1a840f1b1c2dbbf458684d6eea6e (patch)
treef74fd86dc72b98becafafdb1ecd6dffa95f4670d /include/net/bluetooth
parentBluetooth: Avoid bt_accept_unlink() double unlinking (diff)
downloadlinux-d8edd9ed156a1a840f1b1c2dbbf458684d6eea6e.tar.xz
linux-d8edd9ed156a1a840f1b1c2dbbf458684d6eea6e.zip
Bluetooth: L2CAP: Fix L2CAP_CR_SCID_IN_USE value
Fix issue found during L2CAP qualification test TP/LE/CFC/BV-20-C. Signed-off-by: Marcin Kraglak <marcin.kraglak@tieto.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/l2cap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index 5ee3c689c863..0697fd413087 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -282,7 +282,7 @@ struct l2cap_conn_rsp {
#define L2CAP_CR_BAD_KEY_SIZE 0x0007
#define L2CAP_CR_ENCRYPTION 0x0008
#define L2CAP_CR_INVALID_SCID 0x0009
-#define L2CAP_CR_SCID_IN_USE 0x0010
+#define L2CAP_CR_SCID_IN_USE 0x000A
/* connect/create channel status */
#define L2CAP_CS_NO_INFO 0x0000