diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-02-21 14:45:36 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-02-25 00:38:37 +0400 |
commit | 443626e5a956d0c740034e53cf4164c2c1069cd4 (patch) | |
tree | 0a088e885a8d92f34f754ce0589992a2f460a9e8 /drivers/net/wireless/ath/ath9k/debug.c | |
parent | 434bb46c36c545b4a81c02c73e24560c303c3388 (diff) | |
download | linux-443626e5a956d0c740034e53cf4164c2c1069cd4.tar.xz |
ath9k: list more reset causes in debugfs
Number of MAC hangs and stuck beacons were missing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/debug.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/debug.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/debug.c b/drivers/net/wireless/ath/ath9k/debug.c index ab7264c1d8f7..f42ed3b17330 100644 --- a/drivers/net/wireless/ath/ath9k/debug.c +++ b/drivers/net/wireless/ath/ath9k/debug.c @@ -866,6 +866,12 @@ static ssize_t read_file_reset(struct file *file, char __user *user_buf, "%17s: %2d\n", "PLL RX Hang", sc->debug.stats.reset[RESET_TYPE_PLL_HANG]); len += scnprintf(buf + len, sizeof(buf) - len, + "%17s: %2d\n", "MAC Hang", + sc->debug.stats.reset[RESET_TYPE_MAC_HANG]); + len += scnprintf(buf + len, sizeof(buf) - len, + "%17s: %2d\n", "Stuck Beacon", + sc->debug.stats.reset[RESET_TYPE_BEACON_STUCK]); + len += scnprintf(buf + len, sizeof(buf) - len, "%17s: %2d\n", "MCI Reset", sc->debug.stats.reset[RESET_TYPE_MCI]); |