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:
parent
7a31df456f
commit
e816a13b24
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue