linux/drivers/net/wireless
Johannes Berg 8bd2c1ead5 iwlagn: fix dangling scan request
If iwl_scan_initiate() fails for any reason,
priv->scan_request and priv->scan_vif are left
dangling. This can lead to a crash later when
iwl_bg_scan_completed() tries to run a pending
scan request.

In practice, this seems to be very rare due to
the STATUS_SCANNING check earlier. That check,
however, is wrong -- it should allow a scan to
be queued when a reset/roc scan is going on.
When a normal scan is already going on, a new
one can't be issued by mac80211, so that code
can be removed completely. I introduced this
bug when adding off-channel support in commit
266af4c745.

Cc: stable@kernel.org [3.0]
Reported-by: Peng Yan <peng.yan@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-09-27 14:34:07 -04:00
..
ath ath9k: fix a regression in ath9k_ps_restore 2011-09-27 14:34:05 -04:00
b43 b43: LCN-PHY: minor clean ups 2011-09-27 14:34:02 -04:00
b43legacy b43/legacy: Remove firmware IDs 2011-08-24 14:57:17 -04:00
hostap hostap_cs: support cards with "Version 01.02" as third product ID 2011-08-08 16:04:11 -04:00
ipw2x00 Merge branch 'master' of git://git.infradead.org/users/linville/wireless 2011-09-20 14:11:55 -04:00
iwlegacy mac80211: add ieee80211_vif param to tsf functions 2011-09-27 14:27:48 -04:00
iwlwifi iwlagn: fix dangling scan request 2011-09-27 14:34:07 -04:00
iwmc3200wifi
libertas libertas: scan behaviour consistency improvements 2011-09-27 14:34:01 -04:00
libertas_tf Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-06-30 13:34:06 -04:00
mwifiex mwifiex: reset skb length before inserting to free queue 2011-09-27 14:34:04 -04:00
orinoco orinoco_cs: be more careful when matching cards with ID 0x0156:0x0002 2011-08-08 16:04:12 -04:00
p54 p54spi: add "spi:" prefix for stlc45xx modalias 2011-08-29 15:33:01 -04:00
prism54
rt2x00 mac80211: add ieee80211_vif param to tsf functions 2011-09-27 14:27:48 -04:00
rtl818x mac80211: add ieee80211_vif param to tsf functions 2011-09-27 14:27:48 -04:00
rtlwifi mac80211: add ieee80211_vif param to tsf functions 2011-09-27 14:27:48 -04:00
wl12xx mac80211: add ieee80211_vif param to tsf functions 2011-09-27 14:27:48 -04:00
wl1251 Merge branch 'master' of git://git.infradead.org/users/linville/wireless 2011-09-20 14:11:55 -04:00
zd1211rw mac80211: add ieee80211_vif param to tsf functions 2011-09-27 14:27:48 -04:00
adm8211.c mac80211: add ieee80211_vif param to tsf functions 2011-09-27 14:27:48 -04:00
adm8211.h
airo_cs.c
airo.c net: Audit drivers to identify those needing IFF_TX_SKB_SHARING cleared 2011-07-27 22:39:30 -07:00
airo.h
at76c50x-usb.c
at76c50x-usb.h
atmel_cs.c
atmel_pci.c
atmel.c
atmel.h
Kconfig
mac80211_hwsim.c mac80211_hwsim: Fix RX status reporting for HT 2011-08-10 14:07:41 -04:00
mac80211_hwsim.h
Makefile
mwl8k.c mwl8k: Set hardware flag IEEE80211_HW_AP_LINK_PS 2011-09-13 15:42:31 -04:00
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: remove wireless extensions inclusions 2011-08-08 14:26:18 -04:00
wl3501_cs.c
wl3501.h
zd1201.c
zd1201.h