]> git.baikalelectronics.ru Git - kernel.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)
commitedbf56b26ad26f5112a2d56895d8e6de9274b067
tree55a2b98fe16b9f079b0e5366a86b561dea1fe57a
parenteaaa6ed02a3d06a95e6d60ba38fd68ce207ef5e7
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