nimble/ll: Change ext_adv_params field name

This changes name of field containing parameters
from first version of SET_EXT_ADV_PARAMS in
ble_hci_le_set_ext_adv_params_v2_cp structure.
New name enhances clarity by more accurately
describing its contents.
This commit is contained in:
Michal Gorecki
2024-10-03 11:23:40 +02:00
committed by Andrzej Kaczmarek
parent b6d7261d75
commit 881dc67914
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3257,7 +3257,7 @@ ble_gap_ext_adv_params_tx_v2(uint8_t instance,
memset(&cmd, 0, sizeof(cmd));
rc = ble_gap_set_ext_adv_params(&(cmd.cmd), instance, params, selected_tx_power);
rc = ble_gap_set_ext_adv_params(&(cmd.params_v1), instance, params, selected_tx_power);
if (rc != 0) {
return rc;
+1 -1
View File
@@ -1152,7 +1152,7 @@ struct ble_hci_le_subrate_req_cp {
#define BLE_HCI_OCF_LE_SET_EXT_ADV_PARAM_V2 (0x007F)
struct ble_hci_le_set_ext_adv_params_v2_cp {
struct ble_hci_le_set_ext_adv_params_cp cmd;
struct ble_hci_le_set_ext_adv_params_cp params_v1;
uint8_t pri_phy_opt;
uint8_t sec_phy_opt;
} __attribute__((packed));