From 76789883e2ca6e159e8caa080af0e0305ef848eb Mon Sep 17 00:00:00 2001 From: Jun Huang Date: Thu, 3 Dec 2020 11:56:01 +0800 Subject: [PATCH] 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 --- tests/bluetooth/tester/src/gap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bluetooth/tester/src/gap.c b/tests/bluetooth/tester/src/gap.c index ad00edad856..7af4ff662ad 100644 --- a/tests/bluetooth/tester/src/gap.c +++ b/tests/bluetooth/tester/src/gap.c @@ -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); }