From: John W. Linville Date: Wed, 15 Nov 2006 01:08:53 +0000 (-0500) Subject: [PATCH] prism54: correct overly aggressive check of return from pci_set_mwi X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e72ba2d328331e9687f0105a7937ea1b1969246c;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [PATCH] prism54: correct overly aggressive check of return from pci_set_mwi Failure of pci_set_mwi should not be considered a fatal error. Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/prism54/islpci_hotplug.c b/drivers/net/wireless/prism54/islpci_hotplug.c index e0bca3abdf68..58257b40c043 100644 --- a/drivers/net/wireless/prism54/islpci_hotplug.c +++ b/drivers/net/wireless/prism54/islpci_hotplug.c @@ -170,8 +170,8 @@ prism54_probe(struct pci_dev *pdev, const struct pci_device_id *id) pci_set_master(pdev); /* enable MWI */ - if (pci_set_mwi(pdev)) - goto do_pci_release_regions; + if (!pci_set_mwi(pdev)) + printk(KERN_INFO "%s: pci_set_mwi(pdev) succeeded\n", DRV_NAME); /* setup the network device interface and its structure */ if (!(ndev = islpci_setup(pdev))) {