OSDN Git Service

monitor: Add missing error code for LE Connection Response
authorSzymon Janc <szymon.janc@codecoup.pl>
Tue, 21 Feb 2017 13:23:22 +0000 (14:23 +0100)
committerSzymon Janc <szymon.janc@codecoup.pl>
Tue, 21 Feb 2017 13:28:59 +0000 (14:28 +0100)
This adds missing decoding for 0x000b result code.

monitor/l2cap.c

index 6022ce3..5934869 100644 (file)
@@ -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;