Diff between c56b263fbf08eeff8c8db3559ddf7635e4b0ab11 and 477ed93ae34e3eeca22ed3b1de0725d7c5a2efc4
Changed Files
| File | Additions | Deletions | Status |
| tools/smp-tester.c | +1 | -0 | modified |
Full Patch
diff --git a/tools/smp-tester.c b/tools/smp-tester.c
index b9d8da3..6cfcac8 100644
--- a/tools/smp-tester.c
+++ b/tools/smp-tester.c
@@ -837,6 +837,7 @@ static void smp_client(const void *data, uint16_t len, void *user_data)
memcpy(test_data->smp_pcnf, data + 1, 16);
goto next;
case 0x04: /* Pairing Random */
+ swap128(data + 1, test_data->smp_rrnd);
if (!verify_random(data + 1))
goto failed;
goto next;