qcacld-3.0: Fixed wrong warning log for no return issue

warning log: Bug report already in progress - dropping! type
if caller check return value, have potential issues

Change-Id: Idc8f74437e979880e1d0e4209359c96fcfdba4d9
CRs-Fixed: 2133211
This commit is contained in:
Zhu Jianmin 2017-10-26 19:09:12 +08:00 • committed by snandini
commit b639e9beaf

View file

@ -2337,6 +2337,7 @@ static int wma_flush_complete_evt_handler(void *handle,
if (status != QDF_STATUS_SUCCESS)
WMA_LOGE("Failed to stop the log completion timeout");
cds_logging_set_fw_flush_complete();
return QDF_STATUS_SUCCESS;
} else if (reason_code && cds_is_log_report_in_progress() == false) {
/* Asynchronous flush event for fatal events */
status = cds_set_log_completion(WLAN_LOG_TYPE_FATAL,