diff --git a/subsys/bluetooth/host/smp.c b/subsys/bluetooth/host/smp.c index 4cba4ef92bb..1f1cd1d3534 100644 --- a/subsys/bluetooth/host/smp.c +++ b/subsys/bluetooth/host/smp.c @@ -4017,7 +4017,7 @@ static int smp_h6_test(void) { uint8_t w[16] = { 0x9b, 0x7d, 0x39, 0x0a, 0xa6, 0x10, 0x10, 0x34, 0x05, 0xad, 0xc8, 0x57, 0xa3, 0x34, 0x02, 0xec }; - uint8_t key_id[8] = { 0x72, 0x62, 0x65, 0x6c }; + uint8_t key_id[4] = { 0x72, 0x62, 0x65, 0x6c }; uint8_t exp_res[16] = { 0x99, 0x63, 0xb1, 0x80, 0xe2, 0xa9, 0xd3, 0xe8, 0x1c, 0xc9, 0x6d, 0xe7, 0x02, 0xe1, 0x9a, 0x2d}; uint8_t res[16];