projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9a1619
)
ath5k: Set TSF fix
author
Alina Friedrichsen
<x-alina@gmx.net>
Mon, 2 Mar 2009 22:29:48 +0000
(23:29 +0100)
committer
John W. Linville
<linville@tuxdriver.com>
Thu, 5 Mar 2009 19:39:40 +0000
(14:39 -0500)
The old code doesn't work correctly e.g. on newer chipsets like AR5418+AR2122 and AR5416+AR2133.
Signed-off-by: Alina Friedrichsen <x-alina@gmx.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath5k/pcu.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath5k/pcu.c
b/drivers/net/wireless/ath5k/pcu.c
index f8a4a69602707bc95256ba4c9d252cc1585fc970..55122f1e1986b49ab00f9a6625559580a1b41d8a 100644
(file)
--- a/
drivers/net/wireless/ath5k/pcu.c
+++ b/
drivers/net/wireless/ath5k/pcu.c
@@
-657,9
+657,8
@@
void ath5k_hw_set_tsf64(struct ath5k_hw *ah, u64 tsf64)
{
ATH5K_TRACE(ah->ah_sc);
- ath5k_hw_reg_write(ah, 0x00000000, AR5K_TSF_L32);
- ath5k_hw_reg_write(ah, (tsf64 >> 32) & 0xffffffff, AR5K_TSF_U32);
ath5k_hw_reg_write(ah, tsf64 & 0xffffffff, AR5K_TSF_L32);
+ ath5k_hw_reg_write(ah, (tsf64 >> 32) & 0xffffffff, AR5K_TSF_U32);
}
/**