|
@@ -744,7 +744,7 @@ QDF_STATUS reg_get_channel_list_with_power(struct wlan_objmgr_pdev *pdev,
|
|
|
|
|
|
for (i = 0, count = 0; i < NUM_CHANNELS; i++) {
|
|
|
if (reg_channels[i].state &&
|
|
|
- reg_channels[i].state != REGULATORY_CHAN_DISABLED) {
|
|
|
+ reg_channels[i].chan_flags != REGULATORY_CHAN_DISABLED) {
|
|
|
ch_list[count].chan_num =
|
|
|
reg_channels[i].chan_num;
|
|
|
ch_list[count++].tx_power =
|