Эх сурвалжийг харах

qcacmn: fix WHUNT compilation issue

Fix compilation issue on WHUNT with MLO
enabled in WCN7850

Change-Id: I57ff334e9cf47468c30bc6884a9ead0a65a92eb5
Chaithanya Garrepalli 3 жил өмнө
parent
commit
1e9b37b023

+ 1 - 3
dp/wifi3.0/be/dp_be_rx.h

@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
- * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
@@ -211,7 +211,6 @@ dp_rx_replensih_soc_get(struct dp_soc *soc, uint8_t reo_ring_num)
 #endif
 
 #ifdef WLAN_FEATURE_11BE_MLO
-#ifdef WLAN_MCAST_MLO
 /**
  * dp_rx_mlo_igmp_handler() - Rx handler for Mcast packets
  * @soc: Handle to DP Soc structure
@@ -226,6 +225,5 @@ bool dp_rx_mlo_igmp_handler(struct dp_soc *soc,
 			    struct dp_peer *peer,
 			    qdf_nbuf_t nbuf);
 #endif
-#endif
 
 #endif

+ 2 - 2
dp/wifi3.0/be/dp_be_tx.h

@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
- * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
@@ -157,7 +157,6 @@ void dp_tx_desc_pool_deinit_be(struct dp_soc *soc,
 			       uint8_t pool_id);
 
 #ifdef WLAN_FEATURE_11BE_MLO
-#ifdef WLAN_MCAST_MLO
 /**
  * dp_tx_mlo_mcast_handler_be() - Tx handler for Mcast packets
  * @soc: Handle to DP Soc structure
@@ -169,6 +168,7 @@ void dp_tx_desc_pool_deinit_be(struct dp_soc *soc,
 void dp_tx_mlo_mcast_handler_be(struct dp_soc *soc,
 				struct dp_vdev *vdev,
 				qdf_nbuf_t nbuf);
+#ifdef WLAN_MCAST_MLO
 #ifdef WLAN_MLO_MULTI_CHIP
 /**
  * dp_tx_mlo_mcast_pkt_send() - handler to send MLO Mcast packets