mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-21 20:05:23 +00:00
cid is uint16_t and L2CAP_BR_CID_DYN_END is 0xffff so doing "cid < L2CAP_BR_CID_DYN_END" comparisong is always true resulting in for loop not being terminated as expected. Check against cid overflow instead. Code comment is also added for clarity. Change-Id: I15d6d838ed8b731824e602d089d765614c96c6c1 Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com> |
||
---|---|---|
.. | ||
bluetooth | ||
debug | ||
fs | ||
logging | ||
net | ||
usb | ||
Kconfig | ||
Makefile |