Skip to content
Commit 9aa4cdbb authored by Vinayak Kariappa Chettimada's avatar Vinayak Kariappa Chettimada Committed by Carles Cufi
Browse files

Bluetooth: Host: Fix access of uninitialized bt_dev.le.acl_pkts



ISO Synchronized Receiver only builds do not transmit and
hence may not have any tx buffers allocated in a
Controller, leaving bt_dev.le.acl_pkts semaphore
uninitialized or bt_conn_get_pkts() returning NULL.
Do not use the semaphore if no Tx buffers allocated in a
Controller.

Regression in commit ef19c64f ("Bluetooth: host: poll on
CTLR buffers instead of host TX queue").

Signed-off-by: default avatarVinayak Kariappa Chettimada <vich@nordicsemi.no>
parent c3619edf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment