Explorar o código

qcacld-3.0: Remove redundant parentheses in lim function

Remove redundant parentheses in lim_obss_generate_detection_config.

Change-Id: Id28c2f5d1a44220c8f2f02b9815f1f63501226fc
CRs-Fixed: 2213784
Tushnim Bhattacharyya %!s(int64=7) %!d(string=hai) anos
pai
achega
604a7e1f53
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/mac/src/pe/sch/sch_beacon_process.c

+ 1 - 1
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) {