ath5k: Count how many times a queue got stuck
Add a counter to show how many times a queue got stuck in the debugfs queue file. Signed-off-by: Bruno Randolf <br1@einfach.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
4edd761f40
commit
923e5b3d3d
@@ -88,6 +88,7 @@ struct ath5k_txq {
|
||||
bool setup;
|
||||
int txq_len; /* number of queued buffers */
|
||||
bool txq_poll_mark;
|
||||
unsigned int txq_stuck; /* informational counter */
|
||||
};
|
||||
|
||||
#define ATH5K_LED_MAX_NAME_LEN 31
|
||||
|
Reference in New Issue
Block a user