diff options
author | Benjamin Berg <benjamin.berg@open-mesh.com> | 2016-07-04 14:37:22 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2016-07-08 17:03:28 +0300 |
commit | bec9a94bc4e267a7d9be6f255cd90fe87a2259f6 (patch) | |
tree | 70de4a442300b9bf6f520a56f04d29ab14fc80ce /drivers/net/wireless/ath/ath9k/main.c | |
parent | 9580cb889f35c1ce98fcfec85ebc50b7979f0ecd (diff) | |
download | op-kernel-dev-bec9a94bc4e267a7d9be6f255cd90fe87a2259f6.zip op-kernel-dev-bec9a94bc4e267a7d9be6f255cd90fe87a2259f6.tar.gz |
ath9k: Use tsf offset helper in ath9k_hw_reset
These changes make ath9k_hw_reset more consistent with other places that
handle the TSF value by using the same helper routine.
A slight improvement is to not assume that a fixed time of 1.5ms has
passed for the initval writes when compared to the first write attempt.
Instead the TSF value is re-calculated which will yield a higher accuracy
of the restored TSF timer.
Signed-off-by: Benjamin Berg <benjamin.berg@open-mesh.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
0 files changed, 0 insertions, 0 deletions