]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
Bluetooth: L2CAP: Fix L2CAP_CR_SCID_IN_USE value
authorMarcin Kraglak <marcin.kraglak@tieto.com>
Wed, 8 Mar 2017 13:09:41 +0000 (14:09 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 12 Apr 2017 20:02:37 +0000 (22:02 +0200)
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>
include/net/bluetooth/l2cap.h

index 5ee3c689c86370b4b325309d337611c9b51af5d1..0697fd41308777a4801dcf8728f2ff5aa0210804 100644 (file)
@@ -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