mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 05:34:36 +02:00
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);
|