From 01e112b3a8f18c2e0a8dc3b9d926098269c6dc76 Mon Sep 17 00:00:00 2001 From: Rakesh Pillai Date: Fri, 26 May 2023 08:00:58 -0700 Subject: [PATCH] qcacmn: Fix compilation error for TX multipass to repeater In case when repeater is not supported for TX multipass, there is a compilation error due to implicit definition of dp_tx_multipass_send_pkt_to_repeater. Fix this compilation error by adding a stub function. Change-Id: Iad5d19d1d72fc0d2594c893f610de8647308bce0 CRs-Fixed: 3511618 --- dp/wifi3.0/dp_tx.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dp/wifi3.0/dp_tx.c b/dp/wifi3.0/dp_tx.c index 8a5ba41c20..8dada2215b 100644 --- a/dp/wifi3.0/dp_tx.c +++ b/dp/wifi3.0/dp_tx.c @@ -6863,6 +6863,13 @@ dp_tx_multipass_send_pkt_to_repeater(struct dp_soc *soc, struct dp_vdev *vdev, } } } +#else +static inline void +dp_tx_multipass_send_pkt_to_repeater(struct dp_soc *soc, struct dp_vdev *vdev, + qdf_nbuf_t nbuf, + struct dp_tx_msdu_info_s *msdu_info) +{ +} #endif bool dp_tx_multipass_process(struct dp_soc *soc, struct dp_vdev *vdev,