Bluetooth: controller: split: Disable all adv sets unsupported

Added comments and code to make note that disabling all
advertising sets is not yet implemented.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2020-05-11 15:34:58 +05:30 committed by Carles Cufí
commit 322561c6bb

View file

@ -1734,8 +1734,16 @@ static void le_set_ext_adv_enable(struct net_buf *buf, struct net_buf **evt)
set_num = cmd->set_num;
if (!set_num) {
if (cmd->enable) {
ccst = hci_cmd_complete(evt, sizeof(*ccst));
ccst->status = BT_HCI_ERR_INVALID_PARAM;
return;
}
/* FIXME: Implement disable of all advertising sets */
ccst = hci_cmd_complete(evt, sizeof(*ccst));
ccst->status = BT_HCI_ERR_INVALID_PARAM;
ccst->status = BT_HCI_ERR_UNSUPP_FEATURE_PARAM_VAL;
return;
}