1
linux/drivers/net/wireless/iwlwifi
Stanislaw Gruszka d28232b461 iwlwifi: fix scan abort
Fix possible double priv->mutex lock introduced by commit
a69b03e941
"iwlwifi: cancel scan watchdog in iwl_bg_abort_scan" .
We can not call cancel_delayed_work_sync(&priv->scan_check) with
priv->mutex locked because workqueue function iwl_bg_scan_check()
take that lock internally.

We do not need to synchronize when canceling priv->scan_check work.
We can avoid races (sending double abort command or send no
command at all) using STATUS_SCAN_ABORT bit. Moreover
current iwl_bg_scan_check() code seems to be broken, as
we should not send abort commands when currently aborting.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
CC: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-07-29 12:55:00 -04:00
..
iwl3945-base.c drivers/net/wireless: Use wiphy_<level> 2010-07-27 15:14:13 -04:00
iwl-1000.c iwlagn: add bluetooth stats to debugfs 2010-07-23 08:41:32 -07:00
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-hw.h
iwl-4965.c iwlagn: add bluetooth stats to debugfs 2010-07-23 08:41:32 -07:00
iwl-5000-hw.h
iwl-5000.c iwlagn: add bluetooth stats to debugfs 2010-07-23 08:41:32 -07:00
iwl-6000-hw.h
iwl-6000.c iwlagn: add bluetooth stats to debugfs 2010-07-23 08:41:32 -07:00
iwl-agn-calib.c iwlagn: Add support for bluetooth statistics notification 2010-07-23 08:41:18 -07:00
iwl-agn-debugfs.c iwlagn: add bluetooth stats to debugfs 2010-07-23 08:41:32 -07:00
iwl-agn-debugfs.h iwlagn: add bluetooth stats to debugfs 2010-07-23 08:41:32 -07:00
iwl-agn-hcmd.c iwlwifi: add TLV to specify the size of phy calibration table 2010-07-23 08:41:46 -07:00
iwl-agn-hw.h
iwl-agn-ict.c
iwl-agn-led.c
iwl-agn-led.h
iwl-agn-lib.c iwlwifi: assume vif is NULL for internal scans and non-NULL otherwise 2010-07-26 15:09:04 -04:00
iwl-agn-rs.c
iwl-agn-rs.h
iwl-agn-rx.c iwlagn: Add support for bluetooth statistics notification 2010-07-23 08:41:18 -07:00
iwl-agn-tx.c iwlagn: fix the bit mask of a FH register in stop Tx DMA flow 2010-07-09 10:17:24 -07:00
iwl-agn-ucode.c
iwl-agn.c drivers/net/wireless: Use wiphy_<level> 2010-07-27 15:14:13 -04:00
iwl-agn.h iwlwifi: enable 6050 series Gen2 devices 2010-07-09 10:16:39 -07:00
iwl-calib.h iwlagn: Add support for bluetooth statistics notification 2010-07-23 08:41:18 -07:00
iwl-commands.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-next-2.6 2010-07-27 11:59:19 -04:00
iwl-core.c drivers/net/wireless: Use wiphy_<level> 2010-07-27 15:14:13 -04:00
iwl-core.h iwlwifi: make iwl_mac_beacon_update static 2010-07-23 08:42:18 -07:00
iwl-csr.h iwlwifi: enable 6050 series Gen2 devices 2010-07-09 10:16:39 -07:00
iwl-debug.h
iwl-debugfs.c iwlagn: add bluetooth stats to debugfs 2010-07-23 08:41:32 -07:00
iwl-dev.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-next-2.6 2010-07-27 11:59:19 -04:00
iwl-devtrace.c
iwl-devtrace.h
iwl-eeprom.c
iwl-eeprom.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-next-2.6 2010-07-27 11:59:19 -04:00
iwl-fh.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-07-13 15:57:29 -04:00
iwl-hcmd.c iwlwifi: tx fifo queue flush command 2010-07-02 11:10:15 -07:00
iwl-helpers.h
iwl-io.h
iwl-led.c
iwl-led.h
iwl-power.c
iwl-power.h
iwl-prph.h
iwl-rx.c iwlwifi: fix fw_restart module parameter 2010-07-02 11:08:52 -07:00
iwl-scan.c iwlwifi: fix scan abort 2010-07-29 12:55:00 -04:00
iwl-spectrum.h
iwl-sta.c
iwl-sta.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2010-07-13 15:31:51 -04:00
iwl-tx.c
Kconfig iwlagn: more generic description for iwlagn devices 2010-07-09 10:17:09 -07:00
Makefile