mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-05 18:49:43 +02:00
58b587ee61
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27562 3c298f89-4303-0410-b956-a3cf2f4a3e73
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);
|