From b639e9beaf5cbf9745451d01bef22a435008d809 Mon Sep 17 00:00:00 2001 From: Zhu Jianmin Date: Thu, 26 Oct 2017 19:09:12 +0800 Subject: [PATCH] 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 --- core/wma/src/wma_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/wma/src/wma_main.c b/core/wma/src/wma_main.c index d82a438d36c0..4480e7f60343 100644 --- a/core/wma/src/wma_main.c +++ b/core/wma/src/wma_main.c @@ -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,