Skip to content

Commit

Permalink
mt76: debugfs: fix queue reporting for mt76-usb
Browse files Browse the repository at this point in the history
Fix number of rx-queued frames reported by mt76_usb driver.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 2d8be76c1674 ("mt76: debugfs: improve queue node readability")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information
LorenzoBianconi authored and nbd168 committed Nov 21, 2021
1 parent 91c5da3 commit ca39b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debugfs.c
Expand Up @@ -56,7 +56,7 @@ static int mt76_rx_queues_read(struct seq_file *s, void *data)

queued = mt76_is_usb(dev) ? q->ndesc - q->queued : q->queued;
seq_printf(s, " %9d | %9d | %9d | %9d |\n",
i, q->queued, q->head, q->tail);
i, queued, q->head, q->tail);
}

return 0;
Expand Down

0 comments on commit ca39b4b

Please sign in to comment.