diff options
Diffstat (limited to 'drivers/net/ethernet/apple/bmac.c')
-rw-r--r-- | drivers/net/ethernet/apple/bmac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/apple/bmac.c b/drivers/net/ethernet/apple/bmac.c index a597b766f080..daae0e016253 100644 --- a/drivers/net/ethernet/apple/bmac.c +++ b/drivers/net/ethernet/apple/bmac.c | |||
@@ -1220,8 +1220,8 @@ static void bmac_reset_and_enable(struct net_device *dev) | |||
1220 | if (skb != NULL) { | 1220 | if (skb != NULL) { |
1221 | data = skb_put(skb, ETHERMINPACKET); | 1221 | data = skb_put(skb, ETHERMINPACKET); |
1222 | memset(data, 0, ETHERMINPACKET); | 1222 | memset(data, 0, ETHERMINPACKET); |
1223 | memcpy(data, dev->dev_addr, 6); | 1223 | memcpy(data, dev->dev_addr, ETH_ALEN); |
1224 | memcpy(data+6, dev->dev_addr, 6); | 1224 | memcpy(data + ETH_ALEN, dev->dev_addr, ETH_ALEN); |
1225 | bmac_transmit_packet(skb, dev); | 1225 | bmac_transmit_packet(skb, dev); |
1226 | } | 1226 | } |
1227 | spin_unlock_irqrestore(&bp->lock, flags); | 1227 | spin_unlock_irqrestore(&bp->lock, flags); |