]> git.karo-electronics.de Git - linux-beck.git/commit
ath10k: prevent hif_stop being called twice
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 16 May 2014 14:15:39 +0000 (17:15 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 23 May 2014 08:00:47 +0000 (11:00 +0300)
commitf2708bedf2bec33cab077defe0587497e203284d
tree55a2b98fe16b9f079b0e5366a86b561dea1fe57a
parent95bf21f97f09b724ed7d5eb9f0b3c5c664f0329e
ath10k: prevent hif_stop being called twice

Recently there was a bug discovered that involved
hif_stop() being called twice that ended up with a
double free_irq() call but it only manifested with
multiple MSI interrupts mapping.

Catch this kind of a problem early in driver
regardless of interrupt mapping.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c