]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Fix interrupt statistics
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Sat, 28 Dec 2013 04:17:15 +0000 (09:47 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 3 Jan 2014 20:36:59 +0000 (15:36 -0500)
commit14236d49c6db623f6fc22ff9b60321c11ee6556f
tree306b8705a95e7ac21ca413eec296d245e3911dd6
parent1b11b5b7b4394524683a071bbb2a4c9ef0193f89
ath9k: Fix interrupt statistics

Initialize "sync_cause" to zero since commit
"ath9k: move ath9k_debug_sync_cause out of ath9k_hw"
fills it conditionally based on ISR status.
Not doing this results in garbage values in debugfs.

Cc: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c