From 604a7e1f5355c2b2acef53a774a732d24827c957 Mon Sep 17 00:00:00 2001 From: Tushnim Bhattacharyya Date: Tue, 27 Mar 2018 13:46:38 -0700 Subject: [PATCH] qcacld-3.0: Remove redundant parentheses in lim function Remove redundant parentheses in lim_obss_generate_detection_config. Change-Id: Id28c2f5d1a44220c8f2f02b9815f1f63501226fc CRs-Fixed: 2213784 --- core/mac/src/pe/sch/sch_beacon_process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/mac/src/pe/sch/sch_beacon_process.c b/core/mac/src/pe/sch/sch_beacon_process.c index ee161f338c32..6ea39d1cd669 100644 --- a/core/mac/src/pe/sch/sch_beacon_process.c +++ b/core/mac/src/pe/sch/sch_beacon_process.c @@ -1285,7 +1285,7 @@ QDF_STATUS lim_obss_generate_detection_config(tpAniSirGlobal mac_ctx, cur_detect->obss_ht_mixed_detect_mode, cur_detect->obss_ht_20mhz_detect_mode); - if ((rf_band == BAND_2G)) { + if (rf_band == BAND_2G) { if ((phy_mode == WNI_CFG_PHY_MODE_11G || session->htCapability) && !session->gLim11bParams.protectionEnabled) {