Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit add5ec7a authored by Michael Adisumarta's avatar Michael Adisumarta
Browse files

msm: ipa3: Fix RNDIS Tethering Stats update for UDP UL



Add the tx packet and bytes correctly to the total instead
of resetting it every time for wlan UL stats.

Change-Id: I4316485277351357f08b7241d53b732b74ca6073
Signed-off-by: default avatarMichael Adisumarta <madisuma@codeaurora.org>
parent 8054e688
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -3773,13 +3773,13 @@ static int rmnet_ipa3_query_tethering_stats_hw(
	con_stats->client[index].num_ipv6_bytes);

	/* update the wlan UL stats */
	data->ipv4_tx_packets =
	data->ipv4_tx_packets +=
		con_stats->client[index].num_ipv4_pkts;
	data->ipv6_tx_packets =
	data->ipv6_tx_packets +=
		con_stats->client[index].num_ipv6_pkts;
	data->ipv4_tx_bytes =
	data->ipv4_tx_bytes +=
		con_stats->client[index].num_ipv4_bytes;
	data->ipv6_tx_bytes =
	data->ipv6_tx_bytes +=
		con_stats->client[index].num_ipv6_bytes;

	/* wlan UL stats on cv2 */