Skip to content
Commit 0885416b authored by Arkadiusz Kozdra's avatar Arkadiusz Kozdra Committed by Carles Cufí
Browse files

bluetooth: host: add checks for connection types



Fail gracefully if an HCI event of one type arrives for a handle of a
different connection type.  The requested types are currently based on
what fields are used, not on the usage context, in order to keep every
correct use so far still working.

A warning is logged if the connection identified by the handle does not
match the requested connection type.

Signed-off-by: default avatarArkadiusz Kozdra <akozdra@antmicro.com>
parent 7b98cd64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment