commit | 37aca482e91e28143ff718cacdd6e38d368d357d | [log] [tgz] |
---|---|---|
author | Corentin Dorothée <corentin.dorothee@gmail.com> | Fri Jul 31 15:27:22 2020 +0200 |
committer | Carles Cufí <carles.cufi@nordicsemi.no> | Tue Aug 04 17:53:18 2020 +0200 |
tree | af522a1b272340ce3b48f7fce6cb593de20baf9b | |
parent | 6b50f643dadd3b88d89210cdb188276dee6fa656 [diff] |
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: Corentin Dorothée <corentin.dorothee@gmail.com>