patch-2.4.21 linux-2.4.21/drivers/net/wireless/airo.c

Next file: linux-2.4.21/drivers/net/wireless/airport.c
Previous file: linux-2.4.21/drivers/net/wavelan.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/drivers/net/wireless/airo.c linux-2.4.21/drivers/net/wireless/airo.c
@@ -4008,6 +4008,10 @@
 {
 	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);
 	if (!dev)
 		return -ENODEV;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)