diff options
author | Bob Copeland <me@bobcopeland.com> | 2010-07-13 17:32:41 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-14 19:52:46 +0200 |
commit | 450464def78c94018d997ae6f823578499cdf879 (patch) | |
tree | 2d6285b15042a77a3298a83eee0856050488ef8c /drivers/net/wireless/ath/ath5k/base.h | |
parent | ath5k: move reset to mac80211 workqueue (diff) | |
download | linux-450464def78c94018d997ae6f823578499cdf879.tar.xz linux-450464def78c94018d997ae6f823578499cdf879.zip |
ath5k: disable tasklets during reset
Based on a patch from Bruno Randolf, attempting useful
work while we are resetting the chip just leads to interface
lockups and bad descriptor data, and possibly DMAing to
freed buffers. Let's suspend all tasklets while
reprogramming the registers in the card to avoid such
problems.
In the future we can convert the tasklets to threaded
interrupt handlers to simplify things.
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Acked-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/base.h')
0 files changed, 0 insertions, 0 deletions