From d33546d729df6fea1c3e20a3cbaad0654a415fa6 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 20 May 2014 09:21:50 +0300 Subject: [PATCH] smp-tester: Update invalid request test to use correct response Recent kernels will return the correct Invalid Parameters (0x0a) response instead of the Unspecified Reason (0x08) response. --- tools/smp-tester.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/smp-tester.c b/tools/smp-tester.c index e09c80283..12749dc13 100644 --- a/tools/smp-tester.c +++ b/tools/smp-tester.c @@ -282,7 +282,7 @@ static const struct smp_data smp_server_nval_req_2_test = { }; static const uint8_t smp_nval_req_3[] = { 0x01, 0xff }; -static const uint8_t smp_nval_req_3_rsp[] = { 0x05, 0x08 }; +static const uint8_t smp_nval_req_3_rsp[] = { 0x05, 0x0a }; static const struct smp_req_rsp srv_nval_req_2[] = { { smp_nval_req_2, sizeof(smp_nval_req_3), -- 2.47.3