Keep reading from the HCI socket when a packet is incomplete. The other end may not write entire packets, or TCP could fragment in the middle of a packet. Also fix a potential infinite loop by advancing to the next packet before any continue statements. Signed-off-by: Patrick Stewart <patrick@rfcreations.com> |
||
|---|---|---|
| .. | ||
| hci | ||
| CMakeLists.txt | ||
| Kconfig | ||
| util.h | ||