mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Fix typo. Check against number of allocated MSI-X vectors.
There is no ale(4) controller that supports MSI-X so this is not real issue. PR: kern/171825
This commit is contained in:
parent
3e6cc97fd6
commit
9dd3fa374a
1 changed files with 1 additions and 1 deletions
|
|
@ -551,7 +551,7 @@ ale_attach(device_t dev)
|
|||
if (msix_disable == 0 || msi_disable == 0) {
|
||||
if (msix_disable == 0 && msixc == ALE_MSIX_MESSAGES &&
|
||||
pci_alloc_msix(dev, &msixc) == 0) {
|
||||
if (msic == ALE_MSIX_MESSAGES) {
|
||||
if (msixc == ALE_MSIX_MESSAGES) {
|
||||
device_printf(dev, "Using %d MSIX messages.\n",
|
||||
msixc);
|
||||
sc->ale_flags |= ALE_FLAG_MSIX;
|
||||
|
|
|
|||
Loading…
Reference in a new issue