summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarada Prasanna Garnayak <sgarna@codeaurora.org>2018-02-22 20:00:56 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2018-03-09 00:47:56 -0800
commitc71b28926b287c24d2147fae2123cf74360b65d7 (patch)
treee7a9eafc3807b3c273fadad118246624ab1a73d5
parent8e066795c9491a2889fb3373a9dd6e07f66645aa (diff)
qcacld-3.0: Fix misleading indentation build error
Build option -Werror=misleading-indentation throws misleadingly indented error. CRs-Fixed: 2194895 Change-Id: Ibb678c1c6b386eb4c6c1e38f906cec76e3957c8b
-rw-r--r--core/hdd/src/wlan_hdd_napi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/hdd/src/wlan_hdd_napi.c b/core/hdd/src/wlan_hdd_napi.c
index aaa5cc193fe2..3591f201ba34 100644
--- a/core/hdd/src/wlan_hdd_napi.c
+++ b/core/hdd/src/wlan_hdd_napi.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015-2017 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2015-2018 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -379,11 +379,12 @@ int hdd_napi_apply_throughput_policy(struct hdd_context_s *hddctx,
else
req_state = QCA_NAPI_TPUT_LO;
- if (req_state != napid->napi_mode)
+ if (req_state != napid->napi_mode) {
/* [re]set the floor frequency of high cluster */
rc = hdd_napi_perfd_cpufreq(req_state);
/* blacklist/boost_mode on/off */
rc = hdd_napi_event(NAPI_EVT_TPUT_STATE, (void *)req_state);
+ }
return rc;
}