linux/drivers/net/wireless/iwlwifi
Johannes Berg 6c80c39d9a 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-26 14:55:50 -04:00
..
iwl-1000.c iwlagn: kill iwlagn_setup_deferred_work 2011-07-21 07:28:03 -07:00
iwl-2000.c iwlagn: remove "disable otp refresh" W/A 2011-07-21 07:32:38 -07:00
iwl-5000-hw.h iwlagn: generic temperature location in EEPROM 2011-06-11 07:10:48 -07:00
iwl-5000.c iwlagn: 5000 do not support idle mode 2011-08-02 13:50:56 -04:00
iwl-6000-hw.h
iwl-6000.c iwlagn: transport layer receives struct iwl_trans* 2011-07-21 07:29:48 -07:00
iwl-agn-calib.c iwlagn: remove un-necessary "_agn" 2011-07-21 07:31:01 -07:00
iwl-agn-calib.h iwlagn: remove iwlagn_hcmd_utils structure and call directly 2011-07-11 15:02:10 -04:00
iwl-agn-eeprom.c iwlagn: remove indirection for eeprom_query_addr 2011-07-11 15:02:05 -04:00
iwl-agn-hw.h iwlagn: move PCI power related functions to the PCI layer 2011-06-18 08:17:29 -07:00
iwl-agn-lib.c iwlagn: implement WoWLAN 2011-07-21 07:31:31 -07:00
iwl-agn-rs.c iwlagn: testmode fixed rate available for testmode only 2011-07-21 07:30:36 -07:00
iwl-agn-rs.h
iwl-agn-rxon.c iwlagn: track beacon interval sent to device 2011-07-21 07:31:54 -07:00
iwl-agn-sta.c iwlagn: rename iwlagn_set_dynamic_key 2011-07-21 07:32:03 -07:00
iwl-agn-tt.c iwlagn: use IWL_DEBUG_TEMP for temperature related debug 2011-06-11 07:10:25 -07:00
iwl-agn-tt.h
iwl-agn-tx.c iwlagn: testmode fixed rate available for testmode only 2011-07-21 07:30:36 -07:00
iwl-agn-ucode.c iwlagn: fix stack corruption 2011-09-13 14:18:39 -04:00
iwl-agn.c iwlagn: workaround bug crashing some APs 2011-09-16 15:32:12 -04:00
iwl-agn.h iwlagn: rewrite HW crypto 2011-07-21 07:31:25 -07:00
iwl-bus.h iwlagn: iwl_bus holds drv_data as void * instead of iwl_priv 2011-07-21 07:30:07 -07:00
iwl-commands.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
iwl-core.c iwlagn: track beacon interval sent to device 2011-07-21 07:31:54 -07:00
iwl-core.h iwlagn: 5000 do not support idle mode 2011-08-02 13:50:56 -04:00
iwl-csr.h iwlagn: implement WoWLAN 2011-07-21 07:31:31 -07:00
iwl-debug.h iwlagn: remove forgotten debugfs function 2011-07-21 07:31:10 -07:00
iwl-debugfs.c iwlagn: implement WoWLAN 2011-07-21 07:31:31 -07:00
iwl-dev.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-07-22 17:51:16 -04:00
iwl-devtrace.c
iwl-devtrace.h
iwl-eeprom.c iwlagn: remove dual-indirect call to simply the code 2011-07-16 07:37:28 -07:00
iwl-eeprom.h iwlagn: remove indirection for eeprom_query_addr 2011-07-11 15:02:05 -04:00
iwl-fh.h iwlagn: remove the indirection for the dma channel num 2011-07-11 15:02:03 -04:00
iwl-helpers.h iwlwifi: fix stop/wake queue hacks 2011-06-20 15:16:32 -04:00
iwl-io.c
iwl-io.h iwlagn: simplify the bus architecture 2011-07-21 07:29:55 -07:00
iwl-led.c iwlagn: simplify the bus architecture 2011-07-21 07:29:55 -07:00
iwl-led.h
iwl-pci.c iwlagn: sysfs couldn't find the priv pointer 2011-08-13 14:40:46 -04:00
iwl-power.c iwlagn: 5000 do not support idle mode 2011-08-02 13:50:56 -04:00
iwl-power.h iwlagn: move PCI power related functions to the PCI layer 2011-06-18 08:17:29 -07:00
iwl-prph.h iwlagn: add tx start API to transport layer 2011-07-16 07:39:42 -07:00
iwl-rx.c iwlagn: remove un-necessary "_agn" 2011-07-21 07:31:01 -07:00
iwl-scan.c iwlagn: fix dangling scan request 2011-09-26 14:55:50 -04:00
iwl-sta.c iwlagn: rewrite HW crypto 2011-07-21 07:31:25 -07:00
iwl-sta.h iwlagn: rewrite HW crypto 2011-07-21 07:31:25 -07:00
iwl-sv-open.c iwlagn: simplify the bus architecture 2011-07-21 07:29:55 -07:00
iwl-testmode.h iwlagn: allow application own the uCode operation 2011-07-11 15:02:08 -04:00
iwl-trans-int-pcie.h iwlagn: SCD configuration for AMPDU moves to transport layer 2011-07-21 07:29:12 -07:00
iwl-trans-rx-pcie.c iwlagn: remove un-necessary "_agn" 2011-07-21 07:31:01 -07:00
iwl-trans-tx-pcie.c iwlagn: fix command queue timeout 2011-09-13 14:32:02 -04:00
iwl-trans.c iwlagn: probe would crash with DEBUG_SHIRQ 2011-07-21 07:41:07 -07:00
iwl-trans.h iwlagn: transport layer receives struct iwl_trans* 2011-07-21 07:29:48 -07:00
Kconfig
Makefile iwlagn: move all the ICT related functions to iwl-trans-rx-pcie.c 2011-07-16 07:39:34 -07:00