Skip to content

Commit

Permalink
nimble/ll: Set ext adv params v2 command bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
m-gorecki committed Nov 22, 2024
1 parent ca67e30 commit a3ce765
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nimble/controller/src/ble_ll_adv.c
Original file line number Diff line number Diff line change
Expand Up @@ -3740,7 +3740,7 @@ ble_ll_adv_ext_set_param_v2(const uint8_t *cmdbuf, uint8_t len,
advsm = ble_ll_adv_sm_get(cmd->params_v1.adv_handle);

advsm->pri_phy = ble_ll_adv_ext_phy_mode_get(cmd->params_v1.pri_phy, cmd->pri_phy_opt);
advsm->sec_phy = ble_ll_adv_ext_phy_mode_get(cmd->params_v1.pri_phy, cmd->sec_phy_opt);
advsm->sec_phy = ble_ll_adv_ext_phy_mode_get(cmd->params_v1.sec_phy, cmd->sec_phy_opt);

return rc;
}
Expand Down
3 changes: 3 additions & 0 deletions nimble/controller/src/ble_ll_hci.c
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,9 @@ ble_ll_is_valid_adv_mode(uint8_t ocf)
#if MYNEWT_VAL(BLE_VERSION) >= 51
case BLE_HCI_OCF_LE_PERIODIC_ADV_RECEIVE_ENABLE:
#endif
#if MYNEWT_VAL(BLE_VERSION) >= 54
case BLE_HCI_OCF_LE_SET_EXT_ADV_PARAM_V2:
#endif
#if MYNEWT_VAL(BLE_LL_CFG_FEAT_LL_PERIODIC_ADV_SYNC_TRANSFER)
case BLE_HCI_OCF_LE_PERIODIC_ADV_SYNC_TRANSFER:
case BLE_HCI_OCF_LE_PERIODIC_ADV_SET_INFO_TRANSFER:
Expand Down

0 comments on commit a3ce765

Please sign in to comment.