diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/debug.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/debug.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/debug.c b/drivers/net/wireless/ath/ath5k/debug.c index 0f06e8490314..c2d549f871f9 100644 --- a/drivers/net/wireless/ath/ath5k/debug.c +++ b/drivers/net/wireless/ath/ath5k/debug.c | |||
@@ -587,6 +587,8 @@ static ssize_t read_file_frameerrors(struct file *file, char __user *user_buf, | |||
587 | st->rxerr_jumbo*100/st->rx_all_count : 0); | 587 | st->rxerr_jumbo*100/st->rx_all_count : 0); |
588 | len += snprintf(buf+len, sizeof(buf)-len, "[RX all\t%d]\n", | 588 | len += snprintf(buf+len, sizeof(buf)-len, "[RX all\t%d]\n", |
589 | st->rx_all_count); | 589 | st->rx_all_count); |
590 | len += snprintf(buf+len, sizeof(buf)-len, "RX-all-bytes\t%d\n", | ||
591 | st->rx_bytes_count); | ||
590 | 592 | ||
591 | len += snprintf(buf+len, sizeof(buf)-len, | 593 | len += snprintf(buf+len, sizeof(buf)-len, |
592 | "\nTX\n---------------------\n"); | 594 | "\nTX\n---------------------\n"); |
@@ -604,6 +606,8 @@ static ssize_t read_file_frameerrors(struct file *file, char __user *user_buf, | |||
604 | st->txerr_filt*100/st->tx_all_count : 0); | 606 | st->txerr_filt*100/st->tx_all_count : 0); |
605 | len += snprintf(buf+len, sizeof(buf)-len, "[TX all\t%d]\n", | 607 | len += snprintf(buf+len, sizeof(buf)-len, "[TX all\t%d]\n", |
606 | st->tx_all_count); | 608 | st->tx_all_count); |
609 | len += snprintf(buf+len, sizeof(buf)-len, "TX-all-bytes\t%d\n", | ||
610 | st->tx_bytes_count); | ||
607 | 611 | ||
608 | if (len > sizeof(buf)) | 612 | if (len > sizeof(buf)) |
609 | len = sizeof(buf); | 613 | len = sizeof(buf); |