qlcnic: Free irq for mailbox interrupts
authorManish chopra <manish.chopra@qlogic.com>
Wed, 30 Jan 2013 12:47:14 +0000 (12:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Jan 2013 01:34:49 +0000 (20:34 -0500)
Signed-off-by: Manish chopra <manish.chopra@qlogic.com>
Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c

index e6b363a7664f907c86d723ac44f0b8fbc76589b1..987c46da997c1ae89687d81741fcd6fe6ff95065 100644 (file)
@@ -3215,7 +3215,7 @@ int qlcnic_set_max_rss(struct qlcnic_adapter *adapter, u8 data, size_t len)
        if (netif_running(netdev))
                __qlcnic_down(adapter, netdev);
 
-       if (qlcnic_82xx_check(adapter)) {
+       if (qlcnic_83xx_check(adapter)) {
                if (adapter->flags & QLCNIC_MSIX_ENABLED)
                        qlcnic_83xx_config_intrpt(adapter, 0);
                qlcnic_83xx_free_mbx_intr(adapter);