From 06503f8d9e68e88d7db31dc4b194143b2f75b4fe Mon Sep 17 00:00:00 2001 From: Zhaoyang Liu Date: Tue, 25 Apr 2023 10:56:15 +0800 Subject: [PATCH] qcacmn: fix function call too many arguments error When FEATURE_RX_LINKSPEED_ROAM_TRIGGER is not defined, function dp_rx_rates_stats_update declared without link_id argument, this will get building error. Add the link_id parameter to fix too many arguments of function call building error. Change-Id: I311d520e106f2e6f9e2c11c76cc841840821ccae CRs-Fixed: 3477778 --- dp/wifi3.0/dp_rx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dp/wifi3.0/dp_rx.c b/dp/wifi3.0/dp_rx.c index 85be48a8e2..ed9f3b13d0 100644 --- a/dp/wifi3.0/dp_rx.c +++ b/dp/wifi3.0/dp_rx.c @@ -2457,7 +2457,8 @@ static inline void dp_rx_rates_stats_update(struct dp_soc *soc, qdf_nbuf_t nbuf, uint8_t *rx_tlv_hdr, struct dp_txrx_peer *txrx_peer, uint32_t sgi, uint32_t mcs, - uint32_t nss, uint32_t bw, uint32_t pkt_type) + uint32_t nss, uint32_t bw, uint32_t pkt_type, + uint8_t link_id) { } #endif /* FEATURE_RX_LINKSPEED_ROAM_TRIGGER */