Files
linux/drivers/net
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
..
2011-07-21 13:47:54 -07:00
2011-07-21 13:47:54 -07:00
2011-07-26 16:49:47 -07:00
2011-07-23 20:01:15 -07:00
2011-07-24 13:11:40 -07:00
2011-07-27 22:39:30 -07:00
2011-07-07 00:26:31 -07:00
2011-07-21 13:47:54 -07:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-07-21 13:47:54 -07:00
2011-07-21 13:47:53 -07:00
2011-07-21 13:47:55 -07:00
2011-07-26 16:49:47 -07:00
2011-07-23 20:01:15 -07:00
2011-07-21 13:47:55 -07:00
2011-07-21 22:57:38 -07:00
2011-07-21 13:47:56 -07:00
2011-06-29 06:02:05 -07:00
2011-07-26 16:49:47 -07:00
2011-07-23 20:01:15 -07:00
2011-03-31 11:26:23 -03:00
2011-07-21 13:47:57 -07:00
2011-07-26 16:49:47 -07:00
2011-05-31 19:28:32 -07:00
2011-03-31 11:26:23 -03:00
2010-05-10 05:01:31 -07:00
2010-12-21 02:16:08 -08:00
2011-05-31 19:28:32 -07:00
2010-11-09 09:17:56 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-06-03 03:18:23 -07:00
2011-07-15 08:08:26 -07:00
2010-11-09 09:17:56 -08:00
2011-07-25 16:16:00 -07:00
2011-07-25 16:16:00 -07:00
2011-07-21 13:47:54 -07:00
2011-07-21 13:47:54 -07:00
2011-03-31 11:26:23 -03:00
2010-08-24 12:24:07 -07:00
2011-07-26 16:49:47 -07:00
2011-03-31 11:26:23 -03:00
2011-07-26 16:49:47 -07:00
2010-07-14 13:40:36 -07:00
2010-05-10 05:01:31 -07:00
2010-09-26 18:34:29 -07:00
2010-09-26 18:34:29 -07:00
2011-06-21 15:48:29 -07:00
2011-06-13 17:26:15 -04:00
2011-03-31 11:26:23 -03:00
2011-06-21 15:48:29 -07:00
2011-03-31 11:26:23 -03:00
2011-06-21 15:48:29 -07:00
2011-03-31 11:26:23 -03:00
2011-07-27 22:39:30 -07:00
2011-07-21 13:47:55 -07:00
2011-07-21 13:47:55 -07:00
2011-04-17 17:47:36 -07:00
2011-06-21 15:48:29 -07:00
2011-03-31 11:26:23 -03:00
2011-05-31 19:28:32 -07:00
2011-03-31 11:26:23 -03:00
2011-07-26 16:49:47 -07:00
2011-07-21 13:47:55 -07:00
2010-11-09 09:17:56 -08:00
2011-06-24 17:31:37 -07:00
2010-11-09 09:17:56 -08:00
2011-03-31 11:26:23 -03:00
2011-06-21 15:48:29 -07:00
2011-07-07 04:41:24 -07:00
2011-07-27 22:39:31 -07:00
2010-09-26 18:34:29 -07:00
2011-03-31 11:26:23 -03:00
2011-05-31 19:28:32 -07:00
2010-07-05 20:08:05 -07:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2011-04-06 14:35:23 -07:00
2011-07-21 13:47:56 -07:00
2011-03-31 11:26:23 -03:00
2011-07-26 16:49:47 -07:00
2010-09-21 18:04:47 -07:00
2011-06-21 15:48:29 -07:00
2011-03-31 11:26:23 -03:00
2010-07-15 20:46:22 -07:00
2011-07-21 13:47:55 -07:00
2010-05-10 05:01:31 -07:00
2011-06-21 15:48:29 -07:00
2011-07-07 00:30:09 -07:00
2011-07-08 08:53:33 -07:00
2011-03-31 11:26:23 -03:00
2010-05-10 05:01:31 -07:00
2011-07-21 13:47:56 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-07-21 13:47:55 -07:00
2011-07-21 13:47:55 -07:00
2011-03-31 11:26:23 -03:00
2011-06-21 15:48:29 -07:00
2010-06-03 03:18:23 -07:00
2011-03-31 11:26:23 -03:00
2011-07-21 13:47:56 -07:00
2010-12-21 02:16:08 -08:00