The old code doesn't work correctly e.g. on newer chipsets like AR5418+=
AR2122 and AR5416+AR2133.
Signed-off-by: Alina Friedrichsen <[email protected]>
---
diff -urN wireless-testing.orig/drivers/net/wireless/ath9k/hw.c wireles=
s-testing/drivers/net/wireless/ath9k/hw.c
--- wireless-testing.orig/drivers/net/wireless/ath9k/hw.c 2009-01-23 22=
:54:08.000000000 +0100
+++ wireless-testing/drivers/net/wireless/ath9k/hw.c 2009-01-24 08:47:4=
5.000000000 +0100
@@ -3736,9 +3736,8 @@
=20
void ath9k_hw_settsf64(struct ath_hal *ah, u64 tsf64)
{
- REG_WRITE(ah, AR_TSF_L32, 0x00000000);
- REG_WRITE(ah, AR_TSF_U32, (tsf64 >> 32) & 0xffffffff);
REG_WRITE(ah, AR_TSF_L32, tsf64 & 0xffffffff);
+ REG_WRITE(ah, AR_TSF_U32, (tsf64 >> 32) & 0xffffffff);
}
=20
void ath9k_hw_reset_tsf(struct ath_hal *ah)
--=20
Computer Bild Tarifsieger! GMX FreeDSL - Telefonanschluss + DSL
f=FCr nur 17,95 =BF/mtl.!* http://dsl.gmx.de/?ac=3DOM.AD.PD003K11308T45=
69a