aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/hostap/hostap_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_pci.c')
-rw-r--r--drivers/net/wireless/hostap/hostap_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/hostap/hostap_pci.c b/drivers/net/wireless/hostap/hostap_pci.c
index 3a208989333e..c4c7b2f2e8ac 100644
--- a/drivers/net/wireless/hostap/hostap_pci.c
+++ b/drivers/net/wireless/hostap/hostap_pci.c
@@ -308,7 +308,8 @@ static int prism2_pci_probe(struct pci_dev *pdev,
308 pci_set_master(pdev); 308 pci_set_master(pdev);
309#endif /* PRISM2_BUS_MASTER */ 309#endif /* PRISM2_BUS_MASTER */
310 310
311 dev = prism2_init_local_data(&prism2_pci_funcs, cards_found); 311 dev = prism2_init_local_data(&prism2_pci_funcs, cards_found,
312 &pdev->dev);
312 if (dev == NULL) 313 if (dev == NULL)
313 goto fail; 314 goto fail;
314 iface = netdev_priv(dev); 315 iface = netdev_priv(dev);