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:
parent
95d3d5be2a
commit
322561c6bb
1 changed files with 9 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue