diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-01-14 14:17:36 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-01-19 14:32:29 +0200 |
commit | e3f31175a3eeb492a6ab788e4fa136c19b43aab4 (patch) | |
tree | 2fa9692b9e7a6c1bd78895f09154750480b0452a /net/mac80211/mlme.c | |
parent | 7b05520160a3252577f9a258609499b73f3bdef1 (diff) | |
download | talos-op-linux-e3f31175a3eeb492a6ab788e4fa136c19b43aab4.tar.gz talos-op-linux-e3f31175a3eeb492a6ab788e4fa136c19b43aab4.zip |
ath9k: fix race condition in irq processing during hardware reset
To fix invalid hardware accesses, the commit 872b5d814f99 ("ath9k: do not
access hardware on IRQs during reset") made the irq handler ignore interrupts
emitted after queueing a hardware reset (which disables the IRQ). This left a
small time window for the IRQ to get re-enabled by the tasklet, which caused
IRQ storms. Instead of returning IRQ_NONE when ATH_OP_HW_RESET is set, disable
the IRQ entirely for the duration of the reset.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'net/mac80211/mlme.c')
0 files changed, 0 insertions, 0 deletions