Bluetooth: Fix the host side not setting sec_adv_max_skip

Set sec_adv_max_skip

Signed-off-by: Troels Nilsson <trnn@demant.com>
This commit is contained in:
Troels Nilsson 2024-08-29 16:34:45 +02:00 committed by Carles Cufí
commit e816a13b24

View file

@ -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) {