linux-uconsole/drivers/net/wireless
Stanislaw Gruszka ffd61d6720 iwlwifi: fix scan abort
commit d28232b461 upstream.

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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-10 10:20:41 -07:00
..
ath ath9k: fix yet another buffer leak in the tx aggregation code 2010-08-10 10:20:41 -07:00
b43 b43: Optimize PIO scratchbuffer usage 2010-04-26 07:41:32 -07:00
b43legacy b43/b43legacy: Wake queues in wireless_core_start 2010-03-15 08:50:00 -07:00
hostap hostap: Protect against initialization interrupt 2010-08-02 10:20:46 -07:00
ipw2x00 ipw2100: fix rebooting hang with driver loaded 2009-12-18 14:05:31 -08:00
iwlwifi iwlwifi: fix scan abort 2010-08-10 10:20:41 -07:00
iwmc3200wifi iwmc3200wifi: fix array out-of-boundary access 2010-01-06 15:04:03 -08:00
libertas libertas/sdio: 8686: set ECSI bit for 1-bit transfers 2010-08-02 10:21:25 -07:00
libertas_tf
orinoco orinoco: fix GFP_KERNEL in orinoco_set_key with interrupts disabled 2010-01-06 15:04:59 -08:00
p54 p54pci: add Symbol AP-300 minipci adapters pciid 2010-08-02 10:20:47 -07:00
prism54 headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
rt2x00 rt2x00: Disable powersaving for rt61pci and rt2800pci. 2010-01-06 15:05:23 -08:00
rtl818x rtl8180: fix tx status reporting 2010-07-05 11:10:28 -07:00
wl12xx wl1251: fix a memory leak in probe 2010-07-05 11:11:13 -07:00
zd1211rw Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2009-09-24 15:13:11 -07:00
adm8211.c
adm8211.h mac80211: fix ADM8211_SYNCTL_RFtype define 2009-10-07 16:33:51 -04:00
airo.c airo: fix setting zero length WEP key 2010-03-15 08:49:37 -07:00
airo.h
airo_cs.c
arlan-main.c wireless: convert drivers to netdev_tx_t 2009-09-01 01:14:04 -07:00
arlan-proc.c sysctl: remove "struct file *" argument of ->proc_handler 2009-09-24 07:21:04 -07:00
arlan.h
at76c50x-usb.c
at76c50x-usb.h
atmel.c trivial: fix typos "man[ae]g?ment" -> "management" 2009-09-21 15:14:56 +02:00
atmel.h
atmel_cs.c
atmel_pci.c
i82586.h
i82593.h
Kconfig Kconfig: STRIP: Remove stale bits of STRIP help text 2009-10-01 14:49:14 -07:00
mac80211_hwsim.c mac80211_hwsim: Fix initial beacon timer configuration 2009-09-29 17:25:16 -04:00
Makefile
mwl8k.c
netwave_cs.c wireless: convert drivers to netdev_tx_t 2009-09-01 01:14:04 -07:00
ray_cs.c ray_cs: Fix copy_from_user handling 2009-10-29 09:01:07 -07:00
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: disable stall workaround 2010-03-15 08:49:43 -07:00
strip.c wireless: convert drivers to netdev_tx_t 2009-09-01 01:14:04 -07:00
wavelan.c wireless: convert drivers to netdev_tx_t 2009-09-01 01:14:04 -07:00
wavelan.h
wavelan.p.h wireless: convert drivers to netdev_tx_t 2009-09-01 01:14:04 -07:00
wavelan_cs.c wireless: convert drivers to netdev_tx_t 2009-09-01 01:14:04 -07:00
wavelan_cs.h
wavelan_cs.p.h wireless: convert drivers to netdev_tx_t 2009-09-01 01:14:04 -07:00
wl3501.h
wl3501_cs.c wireless: convert drivers to netdev_tx_t 2009-09-01 01:14:04 -07:00
zd1201.c wireless: convert drivers to netdev_tx_t 2009-09-01 01:14:04 -07:00
zd1201.h