ath10k: Get rid of superfluous call to pci_disable_msi()
authorAlexander Gordeev <agordeev@redhat.com>
Thu, 13 Feb 2014 15:50:01 +0000 (17:50 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 13 Feb 2014 16:01:36 +0000 (18:01 +0200)
commitbdcb2c9e2f9e40639e4b212d08d8cdba54932c0d
treeb28968eadca23a21661d7c3def8ddaf56cca7ab7
parent716ae53c56cf51a64a56aa94d60240b9dff4a112
ath10k: Get rid of superfluous call to pci_disable_msi()

The documentation states that pci_enable_msi_block() returns the number of
requests 'could have been allocated', not 'could allocate'. IOW, MSIs are *not*
enabled if a positive value returned.

kvalo: add commit log based on Alexander's email

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c