diff options
| author | takis@lumumba.luc.ac.be <takis@lumumba.luc.ac.be> | 2005-02-28 19:48:24 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-02-28 19:48:24 -0800 |
| commit | b99d3b0ba5826a4dc582eb71fd78cffa74b14a2a (patch) | |
| tree | aae4d1df1a29e412e308dc0c4db295d6059d2ca6 | |
| parent | aae94db3e7d8be66f54cbde432d37bd3c22374d1 (diff) | |
[PATCH] prism54 not releasing region
Remember to release the PCI regions on an error path.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| -rw-r--r-- | drivers/net/wireless/prism54/islpci_hotplug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/prism54/islpci_hotplug.c b/drivers/net/wireless/prism54/islpci_hotplug.c index 1fabf697683d..efd4d213ac3d 100644 --- a/drivers/net/wireless/prism54/islpci_hotplug.c +++ b/drivers/net/wireless/prism54/islpci_hotplug.c @@ -163,7 +163,7 @@ prism54_probe(struct pci_dev *pdev, const struct pci_device_id *id) if (rvalue || !mem_addr) { printk(KERN_ERR "%s: PCI device memory region not configured; fix your BIOS or CardBus bridge/drivers\n", DRV_NAME); - goto do_pci_disable_device; + goto do_pci_release_regions; } /* enable PCI bus-mastering */ |
