diff options
| author | Sujith Manoharan <[email protected]> | 2012-06-04 16:27:41 +0530 | 
|---|---|---|
| committer | John W. Linville <[email protected]> | 2012-06-06 15:20:25 -0400 | 
| commit | 97ba515a201bc61c7d36c41ad728b0a7debd5d88 (patch) | |
| tree | e8e374ca13b799ecf62a0f1f28b381bc3d6fd267 /drivers/net/wireless/ath/ath9k/debug.c | |
| parent | 31604cf0a73ffd63929f3a646d5402d5901c6e4b (diff) | |
ath9k: Add MCI interrupt to debugfs statistics
Signed-off-by: Sujith Manoharan <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/debug.c')
| -rw-r--r-- | drivers/net/wireless/ath/ath9k/debug.c | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/drivers/net/wireless/ath/ath9k/debug.c b/drivers/net/wireless/ath/ath9k/debug.c index fde700c4e490..c134ddaa10a1 100644 --- a/drivers/net/wireless/ath/ath9k/debug.c +++ b/drivers/net/wireless/ath/ath9k/debug.c @@ -374,6 +374,8 @@ void ath_debug_stat_interrupt(struct ath_softc *sc, enum ath9k_int status)  		sc->debug.stats.istats.dtim++;  	if (status & ATH9K_INT_TSFOOR)  		sc->debug.stats.istats.tsfoor++; +	if (status & ATH9K_INT_MCI) +		sc->debug.stats.istats.mci++;  }  static ssize_t read_file_interrupt(struct file *file, char __user *user_buf, @@ -418,6 +420,7 @@ static ssize_t read_file_interrupt(struct file *file, char __user *user_buf,  	PR_IS("DTIMSYNC", dtimsync);  	PR_IS("DTIM", dtim);  	PR_IS("TSFOOR", tsfoor); +	PR_IS("MCI", mci);  	PR_IS("TOTAL", total);  	len += snprintf(buf + len, mxlen - len, |