ar9170: handle overflow in tsf_low register during get_tsf
authorJoerg Albert <jal2@gmx.de>
Tue, 15 Sep 2009 21:27:53 +0000 (23:27 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Oct 2009 20:39:38 +0000 (16:39 -0400)
commit181af387033e20065e94363d07ecbace7738278c
tree7022e3a625e89ac9f1bf55bdf75eb95b88752485
parent7c52c07de8bd0433db6b3e0147544e5a2f01b786
ar9170: handle overflow in tsf_low register during get_tsf

ar9170_op_get_tsf: handle a carry from TSF_L into TSF_H
by reading TSF_H twice.

Signed-off-by: Joerg Albert <jal2@gmx.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ar9170/cmd.c
drivers/net/wireless/ath/ar9170/cmd.h
drivers/net/wireless/ath/ar9170/main.c