Commit 153458ff authored by Lennert Buytenhek's avatar Lennert Buytenhek Committed by John W. Linville

mwl8k: prevent freeing free IRQ if ieee80211_register_hw() fails

Signed-off-by: default avatarLennert Buytenhek <buytenh@marvell.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 91942230
...@@ -3501,7 +3501,7 @@ static int __devinit mwl8k_probe(struct pci_dev *pdev, ...@@ -3501,7 +3501,7 @@ static int __devinit mwl8k_probe(struct pci_dev *pdev,
if (rc) { if (rc) {
printk(KERN_ERR "%s: Cannot register device\n", printk(KERN_ERR "%s: Cannot register device\n",
wiphy_name(hw->wiphy)); 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", printk(KERN_INFO "%s: %s v%d, %pM, %s firmware %u.%u.%u.%u\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment