Explorar el Código

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 hace 2 años
padre
commit
c372883e10
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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);