瀏覽代碼

qcacmn: Extract reo params only if FW feature flag is enabled

Extract management Rx REO params only if FW feature flag is enabled.

CRs-Fixed: 3182774
Change-Id: I3051a54af9d9671edd7833a23444f72602c35e88
Edayilliam Jayadev 3 年之前
父節點
當前提交
f1373c7ace
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      target_if/mgmt_txrx/src/target_if_mgmt_txrx_rx_reo.c

+ 2 - 2
target_if/mgmt_txrx/src/target_if_mgmt_txrx_rx_reo.c

@@ -531,8 +531,8 @@ target_if_mgmt_rx_reo_extract_reo_params(
 		return QDF_STATUS_E_NULL_VALUE;
 	}
 
-	/* If REO feature is not enabled, no need to extract REO params */
-	if (!wlan_mgmt_rx_reo_is_feature_enabled_at_psoc(psoc))
+	/* If REO feature is not enabled in FW, no need to extract REO params */
+	if (!wlan_psoc_nif_fw_ext_cap_get(psoc, WLAN_SOC_F_MGMT_RX_REO_CAPABLE))
 		return QDF_STATUS_SUCCESS;
 
 	if (!params) {