Tim Gardner
8907a6fb62
iwlwifi: iwlagn_request_scan: Fix check for priv->scan_request
...
The WARN_ON_ONCE() check for scan_request will not correctly detect
a NULL pointer for scan_type == IWL_SCAN_NORMAL. Make it explicit
that the check only applies to normal scans.
Convert WARN_ON_ONCE to WARN_ON since priv->scan_request really _can't_
be NULL for normal scans. If it is then we should emit frequent warnings.
This smatch warning led to scrutiny of iwlagn_request_scan():
drivers/net/wireless/iwlwifi/dvm/scan.c:894 iwlagn_request_scan() error: we previously assumed 'priv->scan_request' could be null (see line 792)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com >
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com >
Signed-off-by: Johannes Berg <johannes.berg@intel.com >
2012-12-10 22:38:58 +01:00
..
2012-10-09 01:47:35 -04:00
2012-10-05 22:32:05 -03:00
2012-10-06 03:04:40 +09:00
2012-10-09 16:23:02 +09:00
2012-09-29 15:37:49 +01:00
2012-10-11 09:04:23 +09:00
2012-10-02 13:38:27 -07:00
2012-10-01 19:39:48 -07:00
2012-10-11 18:41:29 +08:00
2012-10-02 17:26:42 -07:00
2012-10-02 18:32:35 -07:00
2012-10-02 13:38:27 -07:00
2012-10-08 14:58:56 -07:00
2012-10-08 22:52:54 -04:00
2012-10-07 20:55:16 +09:00
2012-10-10 11:10:41 +09:00
2012-10-06 03:16:12 +09:00
2012-10-02 09:54:49 -07:00
2012-10-09 18:26:28 +02:00
2012-10-09 16:08:04 +09:00
2012-10-12 10:21:02 +09:00
2012-10-11 00:45:21 -07:00
2012-10-13 11:27:59 +09:00
2012-10-11 10:27:51 +09:00
2012-10-06 03:04:41 +09:00
2012-09-26 22:28:21 -04:00
2012-09-22 10:29:19 +01:00
2012-10-10 19:52:19 +09:00
2012-10-13 10:56:03 +09:00
2012-10-08 06:33:44 +09:00
2012-09-24 10:07:40 -07:00
2012-10-10 22:50:45 -04:00
2012-10-10 20:14:07 +09:00
2012-10-07 21:04:56 +09:00
2012-10-06 03:16:12 +09:00
2012-10-13 13:22:01 -07:00
2012-10-12 12:39:17 +09:00
2012-09-26 14:04:09 -07:00
2012-10-07 17:29:24 +09:00
2012-10-10 20:15:24 +09:00
2012-10-11 17:21:40 -04:00
2012-10-09 15:08:42 +01:00
2012-12-10 22:38:58 +01:00
2012-09-27 10:47:48 +02:00
2012-10-03 09:44:08 -07:00
2012-10-09 16:22:18 +09:00
2012-10-09 16:11:46 +09:00
2012-10-06 03:16:12 +09:00
2012-10-01 19:11:38 -07:00
2012-10-10 08:57:26 +02:00
2012-10-09 01:47:35 -04:00
2012-09-21 13:30:29 -04:00
2012-10-13 11:27:59 +09:00
2012-10-06 03:04:56 +09:00
2012-09-22 15:42:38 -04:00
2012-10-10 20:15:24 +09:00
2012-10-11 08:50:15 +09:00
2012-10-05 12:01:30 +09:00
2012-10-07 21:04:56 +09:00
2012-10-07 21:04:56 +09:00
2012-10-11 08:50:16 +09:00
2012-10-09 14:17:00 +02:00
2012-09-21 12:08:56 -07:00
2012-10-13 10:57:01 +09:00
2012-10-01 19:11:38 -07:00
2012-10-10 11:10:41 +09:00
2012-10-13 11:27:59 +09:00
2012-10-11 09:04:23 +09:00
2012-10-09 01:35:52 -04:00
2012-10-13 11:16:58 +09:00
2012-10-09 16:22:19 +09:00
2012-10-11 15:18:49 -04:00
2012-10-10 09:10:32 -06:00
2012-10-10 19:52:19 +09:00
2012-10-12 10:21:02 +09:00
2012-09-28 15:05:16 +09:30
2012-10-01 12:09:59 -07:00
2012-10-07 21:06:10 +09:00
2012-10-12 22:20:28 +09:00
2012-10-01 18:46:13 -07:00
2012-10-02 13:38:27 -07:00