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

Commit b7c31c35 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa: read channel stats from local variable"

parents 0a16192b 79c6d220
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -1502,9 +1502,9 @@ static ssize_t ipa3_read_ntn(struct file *file, char __user *ubuf,
		size_t count, loff_t *ppos)
		size_t count, loff_t *ppos)
{
{
#define TX_STATS(y) \
#define TX_STATS(y) \
	ipa3_ctx->uc_ntn_ctx.ntn_uc_stats_mmio->tx_ch_stats[0].y
	stats.tx_ch_stats[0].y
#define RX_STATS(y) \
#define RX_STATS(y) \
	ipa3_ctx->uc_ntn_ctx.ntn_uc_stats_mmio->rx_ch_stats[0].y
	stats.rx_ch_stats[0].y


	struct Ipa3HwStatsNTNInfoData_t stats;
	struct Ipa3HwStatsNTNInfoData_t stats;
	int nbytes;
	int nbytes;