]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3add2e4742e911ebad94c11c8cdcdaae92a86236
treee579c239c396fc02afd342e497dbe9727b27293c
parent741340b2b6c14f4abe5fa00fb8675acb5adb3d6a
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