ath10k: fix failpath in MSI-X setup
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 31 Jul 2013 08:55:15 +0000 (10:55 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 2 Aug 2013 06:37:29 +0000 (09:37 +0300)
commit591ecdb8f276925251bb5f5fad7eb064979ecee1
tree5a1f33c118683c8bf3501e313563ce3808f9ef22
parent0dbd09e6284dc7c3de1470e2f1a3c83e0a0fc591
ath10k: fix failpath in MSI-X setup

pci_disable_msi() must be called if the initial
request_irq() fails.

Also add a warning message so it's possible to
distinguish request_irq() failure and
pci_enable_msi() failure.

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