Skip to content
Commit 00e67753 authored by Jordan Yates's avatar Jordan Yates Committed by Carles Cufí
Browse files

bluetooth: hci: spi: extract message handling to func



Extract the HCI message handling out to a dedicated function to simplify
the main thread function. This also solves a bug as a side effect.

Previously `discardable` and `timeout` were never being reset after
an advertising report was received, resulting in ALL events after the
first advertising report being treated as discardable.

Signed-off-by: default avatarJordan Yates <jordan.yates@data61.csiro.au>
parent 96ed3a68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment