This line was clearly intended to check for the value returned by ad_init(). The ad_len is unsigned, so checking for a negative value showed up in a recent Coverity run (no GitHub issue for it yet). Signed-off-by: Johan Hedberg <johan.hedberg@gmail.com> |
||
|---|---|---|
| .. | ||
| bredr.c | ||
| bt.c | ||
| bt.h | ||
| CMakeLists.txt | ||
| gatt.c | ||
| hci.c | ||
| hci.h | ||
| ias_client.c | ||
| ias.c | ||
| iso.c | ||
| Kconfig | ||
| l2cap.c | ||
| ll.c | ||
| ll.h | ||
| rfcomm.c | ||
| ticker.c | ||