aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/hostap/hostap_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_cs.c')
-rw-r--r--drivers/net/wireless/hostap/hostap_cs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/hostap/hostap_cs.c b/drivers/net/wireless/hostap/hostap_cs.c
index f915f0c75cf4..649502488d54 100644
--- a/drivers/net/wireless/hostap/hostap_cs.c
+++ b/drivers/net/wireless/hostap/hostap_cs.c
@@ -725,7 +725,8 @@ static int prism2_config(dev_link_t *link)
725 } 725 }
726 726
727 /* Need to allocate net_device before requesting IRQ handler */ 727 /* Need to allocate net_device before requesting IRQ handler */
728 dev = prism2_init_local_data(&prism2_pccard_funcs, 0); 728 dev = prism2_init_local_data(&prism2_pccard_funcs, 0,
729 &handle_to_dev(link->handle));
729 if (dev == NULL) 730 if (dev == NULL)
730 goto failed; 731 goto failed;
731 link->priv = dev; 732 link->priv = dev;