Skip to content
Commit c9240cc9 authored by Ryan Chu's avatar Ryan Chu Committed by Benjamin Cabé
Browse files

bluetooth: host: Report status of Channel Sounding complete events



If the HCI status of a complete event is not BT_HCI_ERR_SUCCESS,
the remaining parameters could be invalid.

In this case, the params is passed as NULL pointer to the callbacks.
- LE CS Read Remote Supported Capabilities Complete event
- LE CS Read Remote FAE Table Complete event
- LE CS Config Complete event
- LE CS Security Enable Complete event
- LE CS Procedure Enable Complete event

This change avoids forwarding the invalid fileds to the applications.

Signed-off-by: default avatarRyan Chu <ryan.chu@nordicsemi.no>
parent aaeb015e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment