]> 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)
commite762e44b9a232e6f078f4fb37f8d177ee0126f1b
tree55a2b98fe16b9f079b0e5366a86b561dea1fe57a
parenta4612708c661932f69fe35ba0ae2e7d1437da5fd
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