diff options
author | John W. Linville <linville@tuxdriver.com> | 2006-11-14 20:08:53 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-12-02 00:12:04 -0500 |
commit | e72ba2d328331e9687f0105a7937ea1b1969246c (patch) | |
tree | 2537bcc826668a8892f88c4ddccff616be7340f7 | |
parent | b6d2b1db0637ff35127f3cc38c04f289a0ee0579 (diff) |
[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 <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/prism54/islpci_hotplug.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) | |||
170 | pci_set_master(pdev); | 170 | pci_set_master(pdev); |
171 | 171 | ||
172 | /* enable MWI */ | 172 | /* enable MWI */ |
173 | if (pci_set_mwi(pdev)) | 173 | if (!pci_set_mwi(pdev)) |
174 | goto do_pci_release_regions; | 174 | printk(KERN_INFO "%s: pci_set_mwi(pdev) succeeded\n", DRV_NAME); |
175 | 175 | ||
176 | /* setup the network device interface and its structure */ | 176 | /* setup the network device interface and its structure */ |
177 | if (!(ndev = islpci_setup(pdev))) { | 177 | if (!(ndev = islpci_setup(pdev))) { |