ath5k: Reset key cache on interface up, thus fixing resume
authorElias Oltmanns <eo@nebensachen.de>
Fri, 24 Oct 2008 19:59:18 +0000 (21:59 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 27 Oct 2008 21:46:11 +0000 (17:46 -0400)
commitbc1b32d6bdd2d6f3fbee9a7c01c9b099f11c579c
treee579c239c396fc02afd342e497dbe9727b27293c
parent51b94bf0654a14600ff9706f7bc0f7685265f6cd
ath5k: Reset key cache on interface up, thus fixing resume

After a s2ram / resume cycle, resetting the key cache does not work
unless it is deferred until after the hardware has been reinitialised by
a call to ath5k_hw_reset(). This fixes a regression introduced by
"ath5k: fix suspend-related oops on rmmod".

Signed-off-by: Elias Oltmanns <eo@nebensachen.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath5k/base.c