ath5k: Disable interrupts in ath5k_hw_get_tsf64
authorBruno Randolf <br1@einfach.org>
Mon, 27 Sep 2010 03:22:32 +0000 (12:22 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 28 Sep 2010 19:47:57 +0000 (15:47 -0400)
commit28df897a42aa41d6318be5b9872c4bb5c8d8d7e3
tree7979dd5d8a894603389e42b513e6e19c4a6601ae
parent11f21df36cbcffbfada9307e809d4372ece27f47
ath5k: Disable interrupts in ath5k_hw_get_tsf64

The code in ath5k_hw_get_tsf64() is time critical and will return wrong results
if we get interrupted, so disable local interrupts.

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/pcu.c