浏览代码

qcacld-3.0: Do not trigger fw recovery in case of no scan results

Host triggers firmware recovery when bug is reported for no
or zero scan results. This may trigger false alarm and thus
firmware recovery even in no wifi zones.

Fix is to set recovery needed to false in cds_flush_logs
called from scan done callback. Also change flush
completion log to info.

Change-Id: I45cf616803d3f504649fb0fa8e4698b781be5781
CRs-Fixed: 2008108
yeshwanth sriram guntuka 8 年之前
父节点
当前提交
d117ceb8af
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/hdd/src/wlan_hdd_scan.c

+ 1 - 1
core/hdd/src/wlan_hdd_scan.c

@@ -1254,7 +1254,7 @@ static QDF_STATUS hdd_cfg80211_scan_done_callback(tHalHandle halHandle,
 				cds_flush_logs(WLAN_LOG_TYPE_NON_FATAL,
 						WLAN_LOG_INDICATOR_HOST_DRIVER,
 						WLAN_LOG_REASON_NO_SCAN_RESULTS,
-						true, true);
+						true, false);
 				hddctx->last_nil_scan_bug_report_timestamp =
 					current_timestamp;
 			}