diff options
| author | Bob Copeland <me@bobcopeland.com> | 2009-02-15 12:06:10 -0500 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2009-02-27 14:52:36 -0500 |
| commit | b5f03956c56d72ad336e5c2c42a025f25d952c30 (patch) | |
| tree | 09845f1ce873035df975b327483608525379cccb /include/linux/debugobjects.h | |
| parent | 0b6f582bd38783e14f67d4466923f587728b2438 (diff) | |
ath5k: use spin_lock_irqsave for beacon lock
ath5k_reset can be called from process context, which in turn can
call ath5k_beacon_config which takes the sc->block spinlock. Since
it can also be taken in hard irq context, use spin_lock_irqsave
everywhere. This fixes a potential deadlock in adhoc mode.
Changes-licensed-under: 3-Clause-BSD
Cc: stable@kernel.org
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
