summaryrefslogtreecommitdiff
path: root/tools/smp-tester.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-05-20 09:21:50 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2014-05-20 09:21:57 +0300
commitd33546d729df6fea1c3e20a3cbaad0654a415fa6 (patch)
tree5c79b599236ef14471db040cf8c30a72b2b63904 /tools/smp-tester.c
parent95f338a7fa8807c196ffa37c82b201ba4b987c3d (diff)
downloadbluez-d33546d729df6fea1c3e20a3cbaad0654a415fa6.tar.gz
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.
Diffstat (limited to 'tools/smp-tester.c')
-rw-r--r--tools/smp-tester.c2
1 files changed, 1 insertions, 1 deletions
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),