patch-2.3.99-pre7 linux/drivers/net/pcmcia/aironet4500_cs.c

Next file: linux/drivers/net/pcmcia/com20020_cs.c
Previous file: linux/drivers/net/pcmcia/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/net/pcmcia/aironet4500_cs.c linux/drivers/net/pcmcia/aironet4500_cs.c
@@ -223,9 +223,9 @@
 	dev->get_stats = 		&awc_get_stats;
 //	dev->set_multicast_list = 	&awc_set_multicast_list;
 
-	ether_setup(dev);
+	strcpy(dev->name, ((struct awc_private *)dev->priv)->node.dev_name);
 
-	dev->name = ((struct awc_private *)dev->priv)->node.dev_name;
+	ether_setup(dev);
 
 	dev->init = &awc_pcmcia_init;
 	dev->open = &awc_pcmcia_open;

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