ath5k: read sc->imask with sc->irqlock held
authorPavel Roskin <proski@gnu.org>
Thu, 7 Jul 2011 22:14:25 +0000 (18:14 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 8 Jul 2011 15:47:14 +0000 (11:47 -0400)
commit4fc5401c144d95b031e839ba3208e04c79ac84cb
tree51c8c54548969014937fd0714831bf4e7241e007
parente2df64c1d767eb52a5c617668e20745d5e3015c8
ath5k: read sc->imask with sc->irqlock held

Signed-off-by: Pavel Roskin <proski@gnu.org>
sc->imask may change if ath5k_set_current_imask() races against itself.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c