Skip to content

Commit

Permalink
[PATCH] prism54: correct overly aggressive check of return from pci_s…
Browse files Browse the repository at this point in the history
…et_mwi

Failure of pci_set_mwi should not be considered a fatal error.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
John W. Linville authored and Jeff Garzik committed Dec 2, 2006
1 parent b6d2b1d commit e72ba2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/prism54/islpci_hotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))) {
Expand Down

0 comments on commit e72ba2d

Please sign in to comment.