mwl8k: prevent freeing free IRQ if ieee80211_register_hw() fails
authorLennert Buytenhek <buytenh@wantstofly.org>
Mon, 4 Jan 2010 20:54:08 +0000 (21:54 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Jan 2010 22:13:21 +0000 (17:13 -0500)
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c

index bfaa7911b3367f2e695099ac33a5fd5719911035..2c286d18bae336dc95932d35c97b44acb56ebe15 100644 (file)
@@ -3501,7 +3501,7 @@ static int __devinit mwl8k_probe(struct pci_dev *pdev,
        if (rc) {
                printk(KERN_ERR "%s: Cannot register device\n",
                       wiphy_name(hw->wiphy));
-               goto err_free_irq;
+               goto err_free_queues;
        }
 
        printk(KERN_INFO "%s: %s v%d, %pM, %s firmware %u.%u.%u.%u\n",