|
@@ -260,13 +260,13 @@ static int mwifiex_send_domain_info_cmd_fw(struct wiphy *wiphy)
|
|
|
flag = 1;
|
|
|
first_chan = (u32) ch->hw_value;
|
|
|
next_chan = first_chan;
|
|
|
- max_pwr = ch->max_power;
|
|
|
+ max_pwr = ch->max_reg_power;
|
|
|
no_of_parsed_chan = 1;
|
|
|
continue;
|
|
|
}
|
|
|
|
|
|
if (ch->hw_value == next_chan + 1 &&
|
|
|
- ch->max_power == max_pwr) {
|
|
|
+ ch->max_reg_power == max_pwr) {
|
|
|
next_chan++;
|
|
|
no_of_parsed_chan++;
|
|
|
} else {
|
|
@@ -277,7 +277,7 @@ static int mwifiex_send_domain_info_cmd_fw(struct wiphy *wiphy)
|
|
|
no_of_triplet++;
|
|
|
first_chan = (u32) ch->hw_value;
|
|
|
next_chan = first_chan;
|
|
|
- max_pwr = ch->max_power;
|
|
|
+ max_pwr = ch->max_reg_power;
|
|
|
no_of_parsed_chan = 1;
|
|
|
}
|
|
|
}
|