mirror of
https://github.com/torvalds/linux.git
synced 2024-11-07 12:41:55 +00:00
mwl8k: prevent freeing free IRQ if ieee80211_register_hw() fails
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
9194223068
commit
153458ff7e
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user