From 115fc8b9230d4929d29466b6b6dff19c7f991c8b Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 22 May 2014 17:32:40 +0300 Subject: [PATCH] monitor: Decode LinkKey bit in SMP key distribution field --- monitor/l2cap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/monitor/l2cap.c b/monitor/l2cap.c index c5118fc0b..47fb3bc43 100644 --- a/monitor/l2cap.c +++ b/monitor/l2cap.c @@ -2390,6 +2390,8 @@ static void print_smp_key_dist(const char *label, uint8_t dist) strcat(str, "IdKey "); if (dist & 0x04) strcat(str, "Sign "); + if (dist & 0x08) + strcat(str, "LinkKey "); } print_field("%s: %s(0x%2.2x)", label, str, dist); -- 2.47.3