Bläddra i källkod

qcacld-3.0: Fix compilation issue with openwrt

Remove unnecessary parentheses and avoid compilation error with openwrt.

Change-Id: I884ac75a66f5af44028bdc849d3cbfc36390d360
CRs-Fixed: 3225981
Wu Gao 2 år sedan
förälder
incheckning
c372883e10
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      core/sap/src/sap_fsm.c

+ 2 - 2
core/sap/src/sap_fsm.c

@@ -4250,8 +4250,8 @@ static QDF_STATUS sap_get_freq_list(struct sap_context *sap_ctx,
 			continue;
 		}
 #ifdef FEATURE_WLAN_AP_AP_ACS_OPTIMIZE
-		if ((sap_ctx->acs_cfg->skip_scan_status ==
-			eSAP_DO_PAR_ACS_SCAN)) {
+		if (sap_ctx->acs_cfg->skip_scan_status ==
+			eSAP_DO_PAR_ACS_SCAN) {
 			uint32_t ch_freq;
 
 			ch_freq = WLAN_REG_CH_TO_FREQ(loop_count);