Skip to content

Commit

Permalink
Fix compile error seen in webconfig_hal_single_radio_apply
Browse files Browse the repository at this point in the history
When the feature flag FEATURE_SUPPORT_ECOPOWERDOWN is enabled,
compiler error is seen in webconfig_hal_single_radio_apply function.
This commit addresses that.
  • Loading branch information
amarnathhullur committed Jan 8, 2025
1 parent bd60e6d commit 8721f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/core/wifi_ctrl_webconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -2032,7 +2032,7 @@ int webconfig_hal_single_radio_apply(wifi_ctrl_t *ctrl, webconfig_subdoc_decoded
old_ecomode, new_ecomode);
if (old_ecomode != new_ecomode) {
// write the value to database and reboot
ecomode_telemetry_update_and_reboot(i, new_ecomode);
ecomode_telemetry_update_and_reboot(radio_index, new_ecomode);
}
#endif // defined (FEATURE_SUPPORT_ECOPOWERDOWN)
if (is_radio_6g_modified) {
Expand Down

0 comments on commit 8721f17

Please sign in to comment.