ath9k: ensure that rx is not enabled during a reset
commit3483288caf3d979e6b032d62f75f57893adf0d53
authorFelix Fietkau <nbd@openwrt.org>
Wed, 14 Sep 2011 19:23:03 +0000 (14 21:23 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Sep 2011 20:45:37 +0000 (16 16:45 -0400)
treeee4dc8132ca65f083cbe89f1b73c7a18586be3af
parentc31c8261bf7b817e323d29ba66c031f6b0982680
ath9k: ensure that rx is not enabled during a reset

During a reset, rx buffers are flushed after rx has been disabled. To avoid
race conditions, rx needs to stay disabled during the reset, so avoid any
calls to ath9k_hw_rxena in that case.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/recv.c