diff options
-rw-r--r-- | drivers/net/wireless/mwifiex/cfg80211.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c index 94405831a87..2ab903f4969 100644 --- a/drivers/net/wireless/mwifiex/cfg80211.c +++ b/drivers/net/wireless/mwifiex/cfg80211.c | |||
@@ -471,13 +471,13 @@ static int mwifiex_send_domain_info_cmd_fw(struct wiphy *wiphy) | |||
471 | flag = 1; | 471 | flag = 1; |
472 | first_chan = (u32) ch->hw_value; | 472 | first_chan = (u32) ch->hw_value; |
473 | next_chan = first_chan; | 473 | next_chan = first_chan; |
474 | max_pwr = ch->max_reg_power; | 474 | max_pwr = ch->max_power; |
475 | no_of_parsed_chan = 1; | 475 | no_of_parsed_chan = 1; |
476 | continue; | 476 | continue; |
477 | } | 477 | } |
478 | 478 | ||
479 | if (ch->hw_value == next_chan + 1 && | 479 | if (ch->hw_value == next_chan + 1 && |
480 | ch->max_reg_power == max_pwr) { | 480 | ch->max_power == max_pwr) { |
481 | next_chan++; | 481 | next_chan++; |
482 | no_of_parsed_chan++; | 482 | no_of_parsed_chan++; |
483 | } else { | 483 | } else { |
@@ -488,7 +488,7 @@ static int mwifiex_send_domain_info_cmd_fw(struct wiphy *wiphy) | |||
488 | no_of_triplet++; | 488 | no_of_triplet++; |
489 | first_chan = (u32) ch->hw_value; | 489 | first_chan = (u32) ch->hw_value; |
490 | next_chan = first_chan; | 490 | next_chan = first_chan; |
491 | max_pwr = ch->max_reg_power; | 491 | max_pwr = ch->max_power; |
492 | no_of_parsed_chan = 1; | 492 | no_of_parsed_chan = 1; |
493 | } | 493 | } |
494 | } | 494 | } |