projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6d2b1d
)
[PATCH] prism54: correct overly aggressive check of return from pci_set_mwi
author
John W. Linville
<linville@tuxdriver.com>
Wed, 15 Nov 2006 01:08:53 +0000
(20:08 -0500)
committer
Jeff Garzik
<jeff@garzik.org>
Sat, 2 Dec 2006 05:12:04 +0000
(
00:12
-0500)
Failure of pci_set_mwi should not be considered a fatal error.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/prism54/islpci_hotplug.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/prism54/islpci_hotplug.c
b/drivers/net/wireless/prism54/islpci_hotplug.c
index e0bca3abdf684222e6d430cc960b5dc2f734e4f0..58257b40c043f5eb37eab5c110859af15a86d80e 100644
(file)
--- 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))) {