Skip to content

Commit 3e72058

Browse files
sjanccarlescufi
authored andcommitted
bluetooth: tester: Fix BTP L2CAP listen command
Fixes regression introduced in 26cf0b6 "bluetooth: tester: Add support for missing BTP L2CAP listen param". Success status was missing resulting in BTP to fail for tests that require success on connection. Signed-off-by: Szymon Janc <[email protected]>
1 parent ba7656d commit 3e72058

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/bluetooth/tester/src/btp_l2cap.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,8 @@ static uint8_t listen(const void *cmd, uint16_t cmd_len,
472472
server->psm = psm;
473473

474474
switch (cp->response) {
475+
case BTP_L2CAP_CONNECTION_RESPONSE_SUCCESS:
476+
break;
475477
case BTP_L2CAP_CONNECTION_RESPONSE_INSUFF_ENC_KEY:
476478
/* TSPX_psm_encryption_key_size_required */
477479
req_keysize = 16;

0 commit comments

Comments
 (0)