aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2009-03-27 17:47:27 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-04-22 16:54:29 -0400
commit807e37394b5a1dc23a2908b59f34edbbae67e9ea (patch)
treeac20abf4644a09a05bf11a015391524d6ef75db3
parent295936c56672e82369c6d989e27d3a87495808e4 (diff)
ath5k: fix scanning in AR2424
AR5K_PHY_PLL_40MHZ_5413 should not be ORed with AR5K_PHY_MODE_RAD_RF5112 for 5 GHz channels. The incorrect PLL value breaks scanning in the countries where 5 GHz channels are allowed. Signed-off-by: Pavel Roskin <proski@gnu.org> Acked-by: Nick Kossifidis <mickflemm@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ath5k/reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath5k/reset.c b/drivers/net/wireless/ath5k/reset.c
index cb5e15f97095..775fdf78554b 100644
--- a/drivers/net/wireless/ath5k/reset.c
+++ b/drivers/net/wireless/ath5k/reset.c
@@ -358,7 +358,7 @@ int ath5k_hw_nic_wakeup(struct ath5k_hw *ah, int flags, bool initial)
358 mode |= AR5K_PHY_MODE_FREQ_5GHZ; 358 mode |= AR5K_PHY_MODE_FREQ_5GHZ;
359 359
360 if (ah->ah_radio == AR5K_RF5413) 360 if (ah->ah_radio == AR5K_RF5413)
361 clock |= AR5K_PHY_PLL_40MHZ_5413; 361 clock = AR5K_PHY_PLL_40MHZ_5413;
362 else 362 else
363 clock |= AR5K_PHY_PLL_40MHZ; 363 clock |= AR5K_PHY_PLL_40MHZ;
364 364