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

Commit 500417c9 authored by Skylar Chang's avatar Skylar Chang Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa3: fix the ipa stats query



Andorid framework always set reset bit
to 1 with every time's query, make the
fix on ipa-driver to return the stats
even when reset is set.

Change-Id: I68ca1904f633df471094aa24a3407963ac153ba3
CRs-Fixed: 2252945
Signed-off-by: default avatarSkylar Chang <chiaweic@codeaurora.org>
parent 5faec11e
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -3239,15 +3239,6 @@ static int rmnet_ipa3_query_tethering_stats_hw(
	int rc = 0;
	struct ipa_quota_stats_all *con_stats;

	if (reset) {
		IPAWANERR("only reset the pipe stats without returning stats");
		rc = ipa_get_teth_stats();
		if (rc) {
			IPAWANERR("ipa_get_teth_stats failed %d,\n", rc);
			return rc;
		}
		return 0;
	}
	/* qet HW-stats */
	rc = ipa_get_teth_stats();
	if (rc) {