ath5k: fix reference clock usec duration setting restore
authorFelix Fietkau <nbd@openwrt.org>
Tue, 12 Jul 2011 01:02:03 +0000 (09:02 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 13 Jul 2011 18:49:40 +0000 (14:49 -0400)
commitf00643888ca435ce6934482243733cc140281d10
tree55b14b466411b529a17830738dac49c95f898a96
parentfe00deb3e4b50eede61cc7d4ab9bce7911f0a074
ath5k: fix reference clock usec duration setting restore

enabling the sleep clock alters the AR5K_USEC_32 field, but disabling
it didn't restore it.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Acked-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/reset.c