Bluetooth: tester: Fix an error response in tester
In the function conn_param_update, it should send the opcode GAP_CONN_PARAM_UPDATE, instead, it send GAP_PASSKEY_ENTRY. Signed-off-by: Jun Huang <huangjun6@xiaomi.com>
This commit is contained in:
parent
1897dcf86e
commit
76789883e2
@ -927,7 +927,7 @@ static void conn_param_update(const uint8_t *data, uint16_t len)
|
||||
status = err < 0 ? BTP_STATUS_FAILED : BTP_STATUS_SUCCESS;
|
||||
|
||||
rsp:
|
||||
tester_rsp(BTP_SERVICE_ID_GAP, GAP_PASSKEY_ENTRY, CONTROLLER_INDEX,
|
||||
tester_rsp(BTP_SERVICE_ID_GAP, GAP_CONN_PARAM_UPDATE, CONTROLLER_INDEX,
|
||||
status);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user