2017-03-08 13:09:41

by Marcin Kraglak

[permalink] [raw]
Subject: [PATCH] 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 <[email protected]>
---
include/net/bluetooth/l2cap.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index 5ee3c68..0697fd4 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
--
2.5.5



2017-03-27 14:13:15

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] Bluetooth: L2CAP: Fix L2CAP_CR_SCID_IN_USE value

Hi Marcin,

> Fix issue found during L2CAP qualification test TP/LE/CFC/BV-20-C.
>
> Signed-off-by: Marcin Kraglak <[email protected]>
> ---
> include/net/bluetooth/l2cap.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel