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 drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
iwl-3945-hw.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
iwl-3945-led.c
iwl-3945-led.h
iwl-3945-rs.c
iwl-3945.c iwlwifi: add a mechanism to disable plcp error checking 2010-06-25 14:52:47 -07:00
iwl-3945.h
iwl-4965-hw.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
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 drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
iwl-agn-ict.c wireless: update gfp/slab.h includes 2010-05-24 14:59:26 -04:00
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 iwlwifi: turn on RTS/CTS after aggregation become operational 2010-06-25 15:20:41 -07:00
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 iwlwifi: enable DC calibration based on config parameter 2010-06-25 14:52:18 -07:00
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 iwlwifi: beacon format related helper function 2010-06-05 23:15:49 -07:00
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 drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
iwl-sta.c iwlwifi: update LQ for bcast station on channel change 2010-06-25 14:53:49 -07:00
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 iwlwifi: kzalloc txb array 2010-06-05 23:18:11 -07:00
Kconfig iwlagn: more generic description for iwlagn devices 2010-07-09 10:17:09 -07:00
Makefile iwlwifi: move calibration from iwlcore to iwlagn 2010-06-21 10:47:32 -07:00