Skip to content
Commit 2569e2e8 authored by Ricardo Salveti's avatar Ricardo Salveti Committed by Johan Hedberg
Browse files

Bluetooth: SPI: retry spi_transceive calls if invalid



spi_transceive can return successfuly even if the data provided by the
slave is invalid, so check if the content is correct and retry until a
valid data is available.

Change-Id: Ia951de391e0b24c5b41eeabfb5c10b056d32b62e
Signed-off-by: default avatarRicardo Salveti <ricardo.salveti@linaro.org>
parent f27d8eef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment