diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-08 04:31:00 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2013-12-05 10:05:36 -0500 |
commit | e77af7559238895ec5fd1706762e1c9f890dcc7e (patch) | |
tree | 73e5665a20373be55d6c7e58406da2f31d878117 /include | |
parent | aeddd075d5483cc9a34cd98b0df967f28d651f93 (diff) |
Bluetooth: Fix CID ranges for LE CoC CID allocations
LE CoC used differend CIC ranges than BR/EDR L2CAP. The start of the
range is the same (0x0040) but the range ends at 0x007f (unlike BR/EDR
where it goes all the way to 0xffff).
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index 292749c0f4bc..abba765c174e 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h | |||
@@ -252,6 +252,7 @@ struct l2cap_conn_rsp { | |||
252 | #define L2CAP_CID_SMP 0x0006 | 252 | #define L2CAP_CID_SMP 0x0006 |
253 | #define L2CAP_CID_DYN_START 0x0040 | 253 | #define L2CAP_CID_DYN_START 0x0040 |
254 | #define L2CAP_CID_DYN_END 0xffff | 254 | #define L2CAP_CID_DYN_END 0xffff |
255 | #define L2CAP_CID_LE_DYN_END 0x007f | ||
255 | 256 | ||
256 | /* connect/create channel results */ | 257 | /* connect/create channel results */ |
257 | #define L2CAP_CR_SUCCESS 0x0000 | 258 | #define L2CAP_CR_SUCCESS 0x0000 |