OSDN Git Service

net: aquantia: user correct MSI irq type
authorIgor Russkikh <Igor.Russkikh@aquantia.com>
Mon, 29 Apr 2019 10:04:55 +0000 (10:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 May 2019 13:30:15 +0000 (09:30 -0400)
Typo in msi code. No much impact though.

Signed-off-by: Nikita Danilov <ndanilov@aquantia.com>
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c

index 4f373ea..73d76f8 100644 (file)
@@ -193,7 +193,7 @@ unsigned int aq_pci_func_get_irq_type(struct aq_nic_s *self)
        if (self->pdev->msix_enabled)
                return AQ_HW_IRQ_MSIX;
        if (self->pdev->msi_enabled)
-               return AQ_HW_IRQ_MSIX;
+               return AQ_HW_IRQ_MSI;
        return AQ_HW_IRQ_LEGACY;
 }