diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-05-22 17:32:40 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-12-03 16:32:46 +0200 |
commit | 115fc8b9230d4929d29466b6b6dff19c7f991c8b (patch) | |
tree | 223897825757563d5ed3f0fc505e4530f81aba7f /monitor/l2cap.c | |
parent | dd8cdef3c076cc51894b4f8f7869ff8c1b1110dc (diff) | |
download | bluez-115fc8b9230d4929d29466b6b6dff19c7f991c8b.tar.gz |
monitor: Decode LinkKey bit in SMP key distribution field
Diffstat (limited to 'monitor/l2cap.c')
-rw-r--r-- | monitor/l2cap.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |