1
linux/drivers/net/wireless
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
..
ath ar9170: add get_survey callback in order to get channel noise 2010-07-29 12:46:47 -04:00
b43 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
b43legacy
hostap Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-07-20 18:25:24 -07:00
ipw2x00 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
iwlwifi iwlwifi: fix scan abort 2010-07-29 12:55:00 -04:00
iwmc3200wifi Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-07-01 17:34:14 -07:00
libertas libertas: remove unused cmd_pending waitq 2010-07-27 15:14:12 -04:00
libertas_tf libertas_tf: add get_survey callback in order to get channel noise 2010-07-29 12:46:48 -04:00
orinoco drivers/net/wireless: Use wiphy_<level> 2010-07-27 15:14:13 -04:00
p54 drivers/net/wireless: Use wiphy_<level> 2010-07-27 15:14:13 -04:00
prism54 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
rt2x00 rt2500usb: disallow to set WEP key with non zero index 2010-07-27 14:59:59 -04:00
rtl818x drivers/net/wireless: Use wiphy_<level> 2010-07-27 15:14:13 -04:00
wl12xx wl1271: update hw/fw version info in wiphy struct 2010-07-29 12:46:51 -04:00
zd1211rw Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-06-17 14:19:06 -07:00
adm8211.c drivers/net/wireless: Use wiphy_<level> 2010-07-27 15:14:13 -04:00
adm8211.h
airo_cs.c
airo.c 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
airo.h
at76c50x-usb.c drivers/net/wireless/at76c50x-usb.c: Neaten macros 2010-07-27 15:14:13 -04:00
at76c50x-usb.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-07-01 17:34:14 -07:00
atmel_cs.c
atmel_pci.c
atmel.c
atmel.h
Kconfig
mac80211_hwsim.c drivers/net/wireless: Use wiphy_<level> 2010-07-27 15:14:13 -04:00
Makefile
mwl8k.c mwl8k: add get_survey callback in order to get channel noise 2010-07-29 12:46:45 -04:00
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-07-01 17:34:14 -07:00
wl3501_cs.c
wl3501.h
zd1201.c
zd1201.h