Bluetooth: controller: Fix set_ext_adv_param returned status
Should not always return success. Signed-off-by: Andrzej Kaczmarek <andrzej.kaczmarek@codecoup.pl>
This commit is contained in:
parent
0dc187584c
commit
11cf7ad3ff
1 changed files with 1 additions and 1 deletions
|
@ -1653,7 +1653,7 @@ static void le_set_ext_adv_param(struct net_buf *buf, struct net_buf **evt)
|
||||||
cmd->sid, cmd->scan_req_notify_enable);
|
cmd->sid, cmd->scan_req_notify_enable);
|
||||||
|
|
||||||
rp = hci_cmd_complete(evt, sizeof(*rp));
|
rp = hci_cmd_complete(evt, sizeof(*rp));
|
||||||
rp->status = 0x00;
|
rp->status = status;
|
||||||
rp->tx_power = tx_pwr;
|
rp->tx_power = tx_pwr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue