net: remove needless (now buggy) & from dev->dev_addr
Patch fixes issues with dev->dev_addr changing from array to pointer. Hopefully there are no others. Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
8b3521eeb7
commit
3a6d54c563
@ -892,7 +892,7 @@ static int ray_dev_init(struct net_device *dev)
|
||||
#endif /* RAY_IMMEDIATE_INIT */
|
||||
|
||||
/* copy mac and broadcast addresses to linux device */
|
||||
memcpy(&dev->dev_addr, &local->sparm.b4.a_mac_addr, ADDRLEN);
|
||||
memcpy(dev->dev_addr, &local->sparm.b4.a_mac_addr, ADDRLEN);
|
||||
memset(dev->broadcast, 0xff, ETH_ALEN);
|
||||
|
||||
DEBUG(2, "ray_dev_init ending\n");
|
||||
|
Reference in New Issue
Block a user