From e816a13b245e88d7af56d184e77174746f31cdb1 Mon Sep 17 00:00:00 2001 From: Troels Nilsson Date: Thu, 29 Aug 2024 16:34:45 +0200 Subject: [PATCH] Bluetooth: Fix the host side not setting sec_adv_max_skip Set sec_adv_max_skip Signed-off-by: Troels Nilsson --- subsys/bluetooth/host/adv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subsys/bluetooth/host/adv.c b/subsys/bluetooth/host/adv.c index 29a029ea0de..8420daea603 100644 --- a/subsys/bluetooth/host/adv.c +++ b/subsys/bluetooth/host/adv.c @@ -1217,6 +1217,8 @@ static int le_ext_adv_param_set(struct bt_le_ext_adv *adv, cp->sid = param->sid; + cp->sec_adv_max_skip = param->secondary_max_skip; + cp->props = sys_cpu_to_le16(props); err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_EXT_ADV_PARAM, buf, &rsp); if (err) {