Skip to contentSkip to conversation

ath9k: fix 802.11g conformance test limit typo

PATCH New Bob Copeland 2 participants 2 messages Feb 21, 2009 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath9k: fix 802.11g conformance test limit typo

802.11g is in 2 ghz band, not 5 ghz.

---
 drivers/net/wireless/ath9k/regd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/wireless/ath9k/regd.c +1 -1
index eb0d1b7..a510917 100644
@@ -478,7 +478,7 @@ u32 ath9k_regd_get_ctl(struct ath_hw *ah, struct ath9k_channel *chan)
 	if (IS_CHAN_B(chan))
 		ctl = ah->regulatory.regpair->reg_2ghz_ctl | CTL_11B;
 	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
 		ctl = ah->regulatory.regpair->reg_5ghz_ctl | CTL_11A;
 
Signature · 4 lines
1.6.0.6

-- 
Bob Copeland %% www.bobcopeland.com