Przeglądaj źródła

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
Zhaoyang Liu 2 lat temu
rodzic
commit
06503f8d9e
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      dp/wifi3.0/dp_rx.c

+ 2 - 1
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 */