diff --git a/umac/regulatory/core/src/reg_services_common.c b/umac/regulatory/core/src/reg_services_common.c index 0651cc2b4ad5..51983374d53f 100644 --- a/umac/regulatory/core/src/reg_services_common.c +++ b/umac/regulatory/core/src/reg_services_common.c @@ -4337,6 +4337,8 @@ reg_find_txpower_from_6g_list(qdf_freq_t freq, { enum channel_enum chan_enum; + *txpower = 0; + for (chan_enum = 0; chan_enum < NUM_6GHZ_CHANNELS; chan_enum++) { if (chan_list[chan_enum].center_freq == freq) { *txpower = chan_list[chan_enum].tx_power;