Skip to content
Commit 3707096d authored by Carles Cufi's avatar Carles Cufi Committed by Johan Hedberg
Browse files

Bluetooth: controller: Correct adv, scan and init state checks



For whitelist and resolving list handling, avoid trying to start the
advertiser and scanner roles when they are already running.
Additionally, and since simultaneous scanning and initiating is not
supported, correctly report this to the host both in the supported
states and in the HCI command via an error code, instead of silently
disabling scanning.

Signed-off-by: default avatarCarles Cufi <carles.cufi@nordicsemi.no>
parent 114db109
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment