From aa6852824a5037aea3a6ff6ed0511430573bbdf9 Mon Sep 17 00:00:00 2001 From: Srinivas Girigowda Date: Tue, 27 Jun 2017 22:54:48 -0700 Subject: [PATCH] qcacld-3.0: Fix clang warning implicit conversion enum type QDF_STATUS warning: implicit conversion from enumeration type 'QDF_STATUS' to different enumeration type 'enum tSirRetStatus' [-Wenum-conversion]. Change-Id: I4627325a927c36f3c4f9bb6d89f04146784d458a CRs-Fixed: 2055487 --- core/sme/src/common/sme_api.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index 456452b1299a..8eec1d30b03f 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -4622,8 +4622,10 @@ QDF_STATUS sme_wow_delete_pattern(tHalHandle hal, if (eSIR_SUCCESS != ret_code) { sme_err("Posting WMA_WOWL_DEL_BCAST_PTRN failed, reason: %X", ret_code); + return QDF_STATUS_E_FAILURE; } - return ret_code; + + return QDF_STATUS_SUCCESS; } /**