kernel-ark/drivers/net/wireless/ath
Bob Copeland 242ab7ad68 ath5k: fix SWI calibration interrupt storm
The calibration period is now invoked by triggering a software
interrupt from within the ISR by ath5k_hw_calibration_poll()
instead of via a timer.

However, the calibration interval isn't initialized before
interrupts are enabled, so we can have a situation where an
interrupt occurs before the interval is assigned, so the
interval is actually negative.  As a result, the ISR will
arm a software interrupt to schedule the tasklet, and then
rearm it when the SWI is processed, and so on, leading to a
softlockup at modprobe time.

Move the initialization order around so the calibration interval
is set before interrupts are active.  Another possible fix
is to schedule the tasklet directly from the poll routine,
but I think there are additional plans for the SWI.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-12-28 16:13:47 -05:00
..
ar9170 ar9170: Add support for D-Link DWA 160 A2 2009-11-18 17:09:19 -05:00
ath5k ath5k: fix SWI calibration interrupt storm 2009-12-28 16:13:47 -05:00
ath9k ath9k: Stop ANI when doing a reset 2009-12-21 11:32:20 -05:00
ath.h ath9k: move driver keymap, keymax and splitmic to common 2009-11-11 17:09:09 -05:00
debug.c atheros: add common debug printing 2009-10-07 16:39:29 -04:00
debug.h atheros: add common debug printing 2009-10-07 16:39:29 -04:00
hw.c atheros: define shared bssidmask setting 2009-10-07 16:39:28 -04:00
Kconfig wireless: remove WLAN_80211 and WLAN_PRE80211 from Kconfig 2009-10-30 16:50:35 -04:00
main.c ath: add common ath_rxbuf_alloc() and make ath9k use it 2009-08-14 09:14:05 -04:00
Makefile ath9k: move hw code to its own module 2009-10-07 16:39:41 -04:00
reg.h atheros: define shared bssidmask setting 2009-10-07 16:39:28 -04:00
regd_common.h ath: Updates for regulatory and country codes. 2009-10-27 16:50:04 -04:00
regd.c cfg80211: convert bools into flags 2009-11-19 11:08:50 -05:00
regd.h ath: Updates for regulatory and country codes. 2009-10-27 16:50:04 -04:00