Commit 204b190c authored by Bob Copeland's avatar Bob Copeland Committed by John W. Linville

ath9k: fix 802.11g conformance test limit typo

802.11g is in 2 ghz band, not 5 ghz.
Signed-off-by: default avatarBob Copeland <me@bobcopeland.com>
Acked-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 3faa19cd
...@@ -507,7 +507,7 @@ u32 ath9k_regd_get_ctl(struct ath_hw *ah, struct ath9k_channel *chan) ...@@ -507,7 +507,7 @@ u32 ath9k_regd_get_ctl(struct ath_hw *ah, struct ath9k_channel *chan)
if (IS_CHAN_B(chan)) if (IS_CHAN_B(chan))
ctl = ah->regulatory.regpair->reg_2ghz_ctl | CTL_11B; ctl = ah->regulatory.regpair->reg_2ghz_ctl | CTL_11B;
else if (IS_CHAN_G(chan)) else if (IS_CHAN_G(chan))
ctl = ah->regulatory.regpair->reg_5ghz_ctl | CTL_11G; ctl = ah->regulatory.regpair->reg_2ghz_ctl | CTL_11G;
else else
ctl = ah->regulatory.regpair->reg_5ghz_ctl | CTL_11A; ctl = ah->regulatory.regpair->reg_5ghz_ctl | CTL_11A;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment