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

Commit 26bf0bb9 authored by Sameer Thalappil's avatar Sameer Thalappil Committed by Gerrit - the friendly Code Review server
Browse files

icnss: Fix incorrect clean-up of stats



Fix the copy paste error of clearing the statistics
as part of the fw_debug debugfs write interface.

CRs-Fixed: 2066394
Change-Id: I4ca848a05af06c2a9e6ce1efeb3bfa3b77c2f8d8
Signed-off-by: default avatarSameer Thalappil <sameert@codeaurora.org>
parent 4d9a308b
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -3617,9 +3617,6 @@ static ssize_t icnss_fw_debug_write(struct file *fp,
	if (ret)
		return ret;

	if (ret == 0)
		memset(&priv->stats, 0, sizeof(priv->stats));

	return count;
}