Skip to content
Commit 1868987a authored by Patrick Stewart's avatar Patrick Stewart Committed by Carles Cufí
Browse files

Bluetooth: userchan: Support TCP fragmentation of HCI packets



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: default avatarPatrick Stewart <patrick@rfcreations.com>
parent 74378f3d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment