Skip to content
Commit 37aca482 authored by Corentin Dorothée's avatar Corentin Dorothée Committed by Carles Cufí
Browse files

samples: hci_spi: Fix cmd_hdr and acl_hdr usage



Fixes #27266.
cmd_hdr and acl_hdr local structs were read but never written.
Causing unpredictable errors in bt_tx_thread such as :
"Invalid HCI CMD packet length" in hci.c:2280
or Imprecise data bus errors on nrf52810.

cmd_hdr and acl_hdr are now filled with the received data
from SPI Master.

Signed-off-by: default avatarCorentin Dorothée <corentin.dorothee@gmail.com>
parent 6b50f643
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment