qla2x00t-32gbit: Fix qla24xx_enable_msix() for kernel versions before v3.14

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8154 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2019-04-05 01:04:38 +00:00
parent 2b09d01896
commit 304ab2ac64

View File

@@ -3532,6 +3532,8 @@ msix_failed:
goto msix_out;
}
ha->max_rsp_queues = ha->msix_count - 1;
} else {
ret = ha->msix_count;
}
#elif LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0)
ret = pci_enable_msix_range(ha->pdev,