WSL2-Linux-Kernel/drivers/net/wireless/iwlegacy
Stanislaw Gruszka 51e6525714 iwlegacy: fix channel switch locking
We use priv->mutex to avoid race conditions between chswitch_done()
and mac_channel_switch(), when marking channel switch in
progress. But chswitch_done() can be called in atomic context
from rx_csa() or with mutex already taken from commit_rxon().

To fix remove mutex from chswitch_done() and use atomic bitops
for marking channel switch pending.

Cc: stable@kernel.org # 2.6.39+
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-06-08 14:19:05 -04:00
..
Kconfig
Makefile
iwl-3945-debugfs.c
iwl-3945-debugfs.h
iwl-3945-fh.h
iwl-3945-hw.h
iwl-3945-led.c
iwl-3945-led.h
iwl-3945-rs.c
iwl-3945.c
iwl-3945.h
iwl-4965-calib.c treewide: cleanup continuations and remove logging message whitespace 2011-04-26 10:24:37 +02:00
iwl-4965-calib.h
iwl-4965-debugfs.c
iwl-4965-debugfs.h
iwl-4965-eeprom.c
iwl-4965-hw.h
iwl-4965-led.c
iwl-4965-led.h
iwl-4965-lib.c iwl4965: fix 5GHz operation 2011-05-27 12:53:45 -04:00
iwl-4965-rs.c iwlegacy: Silence DEBUG_STRICT_USER_COPY_CHECKS=y warning 2011-05-16 14:10:38 -04:00
iwl-4965-rx.c
iwl-4965-sta.c
iwl-4965-tx.c iwl4965: fix "Received BA when not expected" 2011-04-29 15:24:15 -04:00
iwl-4965-ucode.c
iwl-4965.c iwlegacy: fix channel switch locking 2011-06-08 14:19:05 -04:00
iwl-4965.h
iwl-commands.h
iwl-core.c iwlegacy: fix channel switch locking 2011-06-08 14:19:05 -04:00
iwl-core.h iwlegacy: fix channel switch locking 2011-06-08 14:19:05 -04:00
iwl-csr.h
iwl-debug.h
iwl-debugfs.c
iwl-dev.h iwlegacy: fix channel switch locking 2011-06-08 14:19:05 -04:00
iwl-devtrace.c
iwl-devtrace.h
iwl-eeprom.c
iwl-eeprom.h
iwl-fh.h
iwl-hcmd.c iwlegacy: remove sync_cmd_mutex 2011-04-29 15:36:15 -04:00
iwl-helpers.h iwlegacy: enable only rfkill interrupt when device is down 2011-04-29 15:36:13 -04:00
iwl-io.h
iwl-led.c iwlegacy: led stay solid on when no traffic 2011-04-28 14:38:35 -04:00
iwl-led.h
iwl-legacy-rs.h
iwl-power.c
iwl-power.h
iwl-prph.h
iwl-rx.c
iwl-scan.c
iwl-spectrum.h
iwl-sta.c
iwl-sta.h
iwl-tx.c iwlegacy: fix enqueue hcmd race conditions 2011-04-29 15:36:14 -04:00
iwl3945-base.c iwlegacy: remove sync_cmd_mutex 2011-04-29 15:36:15 -04:00
iwl4965-base.c iwlegacy: fix channel switch locking 2011-06-08 14:19:05 -04:00