Merge "msm: ipa: fix stats dump"

This commit is contained in:
qctecmdr 2020-12-01 21:32:30 -08:00 • committed by Gerrit - the friendly Code Review server
commit f9ecad48ac

View file

@ -1356,7 +1356,7 @@ static ssize_t ipa3_read_stats(struct file *file, char __user *ubuf,
"lan_rx_empty=%u\n"
"lan_repl_rx_empty=%u\n"
"flow_enable=%u\n"
"flow_disable=%u\n",
"flow_disable=%u\n"
"rx_page_drop_cnt=%u\n",
ipa3_ctx->stats.tx_sw_pkts,
ipa3_ctx->stats.tx_hw_pkts,
@ -1374,7 +1374,8 @@ static ssize_t ipa3_read_stats(struct file *file, char __user *ubuf,
ipa3_ctx->stats.lan_repl_rx_empty,
ipa3_ctx->stats.flow_enable,
ipa3_ctx->stats.flow_disable,
ipa3_ctx->stats.rx_page_drop_cnt);
ipa3_ctx->stats.rx_page_drop_cnt
);
cnt += nbytes;
for (i = 0; i < IPAHAL_PKT_STATUS_EXCEPTION_MAX; i++) {