ath9k_hw: Fix handling of MCI interrupt
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Thu, 8 Dec 2011 06:29:03 +0000 (11:59 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Dec 2011 20:30:22 +0000 (15:30 -0500)
commitcc78d6b16a6853a3f6c014a6173df41d80f65a35
treef46aeb5c7522cabb05a73da1f94cdbab6e58fdcb
parent93fdd59463369f07b69cf7397ccb9b1d28a84df4
ath9k_hw: Fix handling of MCI interrupt

in my previous patches of handling MCI interrupt I overlooked
the case of interrupt status/mask variable being zeroed out in
the below code, so ath_isr does not cache the MCI interrupt
in the intrstatus. finally MCI interrupt handling won't be
handled in ath9k_tasklet for the scheduled interrupts.
Fix this by moving the MCI interrupt code in the appropriate
position in ar9003_hw_get_isr

Cc: Wilson Tsao <wtsao@qca.qualcomm.com>
Cc: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_mac.c