Commit 804bae86 authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Jeff Garzik

[wireless airo] call pci_enable_device, pci_set_master as needed

parent 84dcd8fd
...@@ -4002,6 +4002,10 @@ static int __devinit airo_pci_probe(struct pci_dev *pdev, ...@@ -4002,6 +4002,10 @@ static int __devinit airo_pci_probe(struct pci_dev *pdev,
{ {
struct net_device *dev; struct net_device *dev;
if (pci_enable_device(pdev))
return -ENODEV;
pci_set_master(pdev);
dev = init_airo_card(pdev->irq, pdev->resource[2].start, 0); dev = init_airo_card(pdev->irq, pdev->resource[2].start, 0);
if (!dev) if (!dev)
return -ENODEV; return -ENODEV;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment