Bluetooth: Controller: Fix disable all advertising sets
BlueZ stack in Linux distributions use disable all advertising sets when advertising is turned off. Add missing implementation to support disabling all active advertising sets. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
87aa25e4ad
commit
fc210a8cee
3 changed files with 13 additions and 3 deletions
|
@ -3514,8 +3514,9 @@ static void le_set_ext_adv_enable(struct net_buf *buf, struct net_buf **evt)
|
|||
return;
|
||||
}
|
||||
|
||||
/* FIXME: Implement disable of all advertising sets */
|
||||
*evt = cmd_complete_status(BT_HCI_ERR_UNSUPP_FEATURE_PARAM_VAL);
|
||||
status = ll_adv_disable_all();
|
||||
|
||||
*evt = cmd_complete_status(status);
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue