mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
434bb46c36
commit
443626e5a9
|
@ -865,6 +865,12 @@ static ssize_t read_file_reset(struct file *file, char __user *user_buf,
|
|||
len += scnprintf(buf + len, sizeof(buf) - len,
|
||||
"%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]);
|
||||
|
|
Loading…
Reference in New Issue