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

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

Merge "msm: ipa : Fix update of buffer recycle stats"

parents 2a766ca3 82eaebd5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1979,9 +1979,9 @@ static void ipa3_replenish_rx_page_recycle(struct ipa3_sys_context *sys)
			 * Could not find idle page at curr index.
			 * Allocate a new one.
			 */
			ipa3_ctx->stats.page_recycle_stats[stats_i].tmp_alloc++;
			if (curr_wq == atomic_read(&sys->repl->tail_idx))
				break;
			ipa3_ctx->stats.page_recycle_stats[stats_i].tmp_alloc++;
			rx_pkt = sys->repl->cache[curr_wq];
			curr_wq = (++curr_wq == sys->repl->capacity) ?
								 0 : curr_wq;