projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fcb913
)
ath9k_hw: fix pll clock setting for 5ghz on AR9003
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 26 Apr 2010 19:04:30 +0000
(15:04 -0400)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 27 Apr 2010 20:09:16 +0000
(16:09 -0400)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_phy.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/ar9003_phy.c
b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
index
137543b
..
bf8ec68
100644
(file)
--- a/
drivers/net/wireless/ath/ath9k/ar9003_phy.c
+++ b/
drivers/net/wireless/ath/ath9k/ar9003_phy.c
@@
-375,16
+375,7
@@
static u32 ar9003_hw_compute_pll_control(struct ath_hw *ah,
else if (chan && IS_CHAN_QUARTER_RATE(chan))
pll |= SM(0x2, AR_RTC_9300_PLL_CLKSEL);
- if (chan && IS_CHAN_5GHZ(chan)) {
- pll |= SM(0x28, AR_RTC_9300_PLL_DIV);
-
- /*
- * When doing fast clock, set PLL to 0x142c
- */
- if (IS_CHAN_A_5MHZ_SPACED(chan))
- pll = 0x142c;
- } else
- pll |= SM(0x2c, AR_RTC_9300_PLL_DIV);
+ pll |= SM(0x2c, AR_RTC_9300_PLL_DIV);
return pll;
}