patch-2.4.22 linux-2.4.22/drivers/net/arcnet/arcnet.c

Next file: linux-2.4.22/drivers/net/arcnet/rfc1201.c
Previous file: linux-2.4.22/drivers/net/apne.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/net/arcnet/arcnet.c linux-2.4.22/drivers/net/arcnet/arcnet.c
@@ -343,7 +343,7 @@
 	dev->hard_header_len = sizeof(struct archdr);
 	dev->mtu = choose_mtu();
 
-	dev->addr_len = 1;
+	dev->addr_len = ARCNET_ALEN;
 	dev->tx_queue_len = 30;
 	dev->broadcast[0] = 0x00;	/* for us, broadcasts are address 0 */
 	dev->watchdog_timeo = TX_TIMEOUT;

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