From 11cf7ad3ffdc0b9dd81847b55fe2dc8358624cbf Mon Sep 17 00:00:00 2001 From: Andrzej Kaczmarek Date: Tue, 30 Jun 2020 12:34:16 +0200 Subject: [PATCH] Bluetooth: controller: Fix set_ext_adv_param returned status Should not always return success. Signed-off-by: Andrzej Kaczmarek --- subsys/bluetooth/controller/hci/hci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/bluetooth/controller/hci/hci.c b/subsys/bluetooth/controller/hci/hci.c index 7a9f35f2cc9..19f9b776ac0 100644 --- a/subsys/bluetooth/controller/hci/hci.c +++ b/subsys/bluetooth/controller/hci/hci.c @@ -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); rp = hci_cmd_complete(evt, sizeof(*rp)); - rp->status = 0x00; + rp->status = status; rp->tx_power = tx_pwr; }