patch-2.1.22 linux/drivers/net/wic.c

Next file: linux/drivers/pci/pci.c
Previous file: linux/drivers/net/wavelan.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.21/linux/drivers/net/wic.c linux/drivers/net/wic.c
@@ -920,7 +920,7 @@
 
 	for (i=0; i < ETH_ALEN - sizeof(unsigned long); i++)
 		eth->h_dest[i] = 0xfc;
-	memcpy(&(eth->h_dest[i]), &dst, sizeof(unsigned long));
+	memcpy(&(eth->h_dest[i]), &skb->daddr, 4);
 	return 0;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov