summaryrefslogtreecommitdiff
path: root/monitor/l2cap.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@codecoup.pl>2017-02-21 14:23:22 +0100
committerSzymon Janc <szymon.janc@codecoup.pl>2017-02-21 14:28:59 +0100
commit237e1e52b5e3df9fe3aa01ba2e1e7ad3f87f332a (patch)
tree38022efeb3ef58d2d2affe96e59fc4eec6dd6288 /monitor/l2cap.c
parent8673a556e94fdebd41e93280cdceb705175d1c3b (diff)
downloadbluez-237e1e52b5e3df9fe3aa01ba2e1e7ad3f87f332a.tar.gz
monitor: Add missing error code for LE Connection Response
This adds missing decoding for 0x000b result code.
Diffstat (limited to 'monitor/l2cap.c')
-rw-r--r--monitor/l2cap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/monitor/l2cap.c b/monitor/l2cap.c
index 6022ce3c4..59348693e 100644
--- a/monitor/l2cap.c
+++ b/monitor/l2cap.c
@@ -576,6 +576,9 @@ static void print_le_conn_result(uint16_t result)
case 0x000a:
str = "Connection refused - Source CID already allocated";
break;
+ case 0x000b:
+ str = "Connection refused - unacceptable parameters";
+ break;
default:
str = "Reserved";
break;