Rather than reporting the scan as having completed, report it as
being aborted.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
- /* HW scan failed and is going to be reported as done, so clear
- * old scan info.
+ /* HW scan failed and is going to be reported as aborted,
+ * so clear old scan info.
*/
memset(&local->scan_info, 0, sizeof(local->scan_info));
*/
memset(&local->scan_info, 0, sizeof(local->scan_info));
}
kfree(local->hw_scan_req);
}
kfree(local->hw_scan_req);