Browse Source

qcacmn: Remove target type flag check on CFR APIs

Remove target type build flag check on CFR APIs

CRs-Fixed: 3232751
Change-Id: I6b4e7450799a5143b6f87bb00ca408551bc8e7fc
Shwetha G K 3 years ago
parent
commit
5e5ba18f3d
1 changed files with 3 additions and 2 deletions
  1. 3 2
      hal/wifi3.0/qcn9224/hal_9224.c

+ 3 - 2
hal/wifi3.0/qcn9224/hal_9224.c

@@ -1854,14 +1854,15 @@ static void hal_hw_txrx_ops_attach_qcn9224(struct hal_soc *hal_soc)
 					hal_rx_msdu_get_flow_params_be;
 					hal_rx_msdu_get_flow_params_be;
 	hal_soc->ops->hal_rx_tlv_get_tcp_chksum = hal_rx_tlv_get_tcp_chksum_be;
 	hal_soc->ops->hal_rx_tlv_get_tcp_chksum = hal_rx_tlv_get_tcp_chksum_be;
 	hal_soc->ops->hal_rx_get_rx_sequence = hal_rx_get_rx_sequence_be;
 	hal_soc->ops->hal_rx_get_rx_sequence = hal_rx_get_rx_sequence_be;
-#if defined(QCA_WIFI_QCA9224) && defined(WLAN_CFR_ENABLE) && \
-	defined(WLAN_ENH_CFR_ENABLE)
+
+#if defined(WLAN_CFR_ENABLE) && defined(WLAN_ENH_CFR_ENABLE)
 	hal_soc->ops->hal_rx_get_bb_info = hal_rx_get_bb_info_9224;
 	hal_soc->ops->hal_rx_get_bb_info = hal_rx_get_bb_info_9224;
 	hal_soc->ops->hal_rx_get_rtt_info = hal_rx_get_rtt_info_9224;
 	hal_soc->ops->hal_rx_get_rtt_info = hal_rx_get_rtt_info_9224;
 #else
 #else
 	hal_soc->ops->hal_rx_get_bb_info = NULL;
 	hal_soc->ops->hal_rx_get_bb_info = NULL;
 	hal_soc->ops->hal_rx_get_rtt_info = NULL;
 	hal_soc->ops->hal_rx_get_rtt_info = NULL;
 #endif
 #endif
+
 	/* rx - msdu fast path info fields */
 	/* rx - msdu fast path info fields */
 	hal_soc->ops->hal_rx_msdu_packet_metadata_get =
 	hal_soc->ops->hal_rx_msdu_packet_metadata_get =
 				hal_rx_msdu_packet_metadata_get_generic_be;
 				hal_rx_msdu_packet_metadata_get_generic_be;