2010-01-04 20:54:11

by Lennert Buytenhek

[permalink] [raw]
Subject: [PATCH 02/14] mwl8k: prevent freeing free IRQ if ieee80211_register_hw() fails

Signed-off-by: Lennert Buytenhek <[email protected]>
---
drivers/net/wireless/mwl8k.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c
index d3a7916..418880e 100644
--- a/drivers/net/wireless/mwl8k.c
+++ b/drivers/net/wireless/mwl8k.c
@@ -3503,7 +3503,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",
--
1.5.6.4