l2cap-tester: Fix L2CAP LE Server - Success
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 10 Nov 2020 22:57:10 +0000 (14:57 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:33 +0000 (19:08 +0530)
This test was failing due to the kernel now using different values for
MPS and credits.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
tools/l2cap-tester.c

index ff641ba..11d549f 100755 (executable)
@@ -501,8 +501,8 @@ static const uint8_t le_connect_req[] = {   0x80, 0x00, /* PSM */
 
 static const uint8_t le_connect_rsp[] = {      0x40, 0x00, /* DCID */
                                                0xa0, 0x02, /* MTU */
-                                               0xe6, 0x00, /* MPS */
-                                               0x0a, 0x00, /* Credits */
+                                               0xbc, 0x00, /* MPS */
+                                               0x04, 0x00, /* Credits */
                                                0x00, 0x00, /* Result */
 };