bluetooth: tester: Fix BTP L2CAP listen command
Fixes regression introduced in 26cf0b6850
"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 <szymon.janc@codecoup.pl>
This commit is contained in:
parent
ba7656d05f
commit
3e7205876c
|
@ -472,6 +472,8 @@ static uint8_t listen(const void *cmd, uint16_t cmd_len,
|
||||||
server->psm = psm;
|
server->psm = psm;
|
||||||
|
|
||||||
switch (cp->response) {
|
switch (cp->response) {
|
||||||
|
case BTP_L2CAP_CONNECTION_RESPONSE_SUCCESS:
|
||||||
|
break;
|
||||||
case BTP_L2CAP_CONNECTION_RESPONSE_INSUFF_ENC_KEY:
|
case BTP_L2CAP_CONNECTION_RESPONSE_INSUFF_ENC_KEY:
|
||||||
/* TSPX_psm_encryption_key_size_required */
|
/* TSPX_psm_encryption_key_size_required */
|
||||||
req_keysize = 16;
|
req_keysize = 16;
|
||||||
|
|
Loading…
Reference in a new issue