diff options
author | Marcin Kraglak <marcin.kraglak@telink-semi.com> | 2023-01-30 10:13:36 +0100 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-01-30 13:38:06 -0800 |
commit | f367fa3c9fe591792f124db2c9d81b61f296afdf (patch) | |
tree | 9dad94e4846d0aed298c1fa90201ae54add1f6d4 /monitor | |
parent | eee6a75adc93b6146f662c28b8295c9b92e9494a (diff) | |
download | bluez-f367fa3c9fe591792f124db2c9d81b61f296afdf.tar.gz |
monitor/att: Fix Set Member Lock decoding
According to CSIS specification v1.0.1: "Allowed values for the Set
Member Lock characteristic are Unlocked (corresponding to the
numeric value 0x01) and Locked (corresponding to the numeric
value 0x02); all other values are RFU".
Diffstat (limited to 'monitor')
-rw-r--r-- | monitor/att.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor/att.c b/monitor/att.c index 3b78884bc..05784e9f4 100644 --- a/monitor/att.c +++ b/monitor/att.c @@ -1760,10 +1760,10 @@ static void csip_lock_read(const struct l2cap_frame *frame) switch (lock) { case 0x01: - print_field(" Locked (0x%02x)", lock); + print_field(" Unlocked (0x%02x)", lock); break; case 0x02: - print_field(" Unlocked (0x%02x)", lock); + print_field(" Locked (0x%02x)", lock); break; default: print_field(" RFU (0x%02x)", lock); |