mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
2d0ecd63f5
SVN-Revision: 27562
15 lines
400 B
Diff
15 lines
400 B
Diff
--- a/drivers/net/wireless/ath/ath9k/ar5008_phy.c
|
|
+++ b/drivers/net/wireless/ath/ath9k/ar5008_phy.c
|
|
@@ -627,6 +627,11 @@ static void ar5008_hw_init_bb(struct ath
|
|
else
|
|
synthDelay /= 10;
|
|
|
|
+ if (IS_CHAN_HALF_RATE(chan))
|
|
+ synthDelay *= 2;
|
|
+ else if (IS_CHAN_QUARTER_RATE(chan))
|
|
+ synthDelay *= 4;
|
|
+
|
|
REG_WRITE(ah, AR_PHY_ACTIVE, AR_PHY_ACTIVE_EN);
|
|
|
|
udelay(synthDelay + BASE_ACTIVATE_DELAY);
|