diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-01-01 07:30:15 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-04 10:37:35 +0400 |
commit | e41b2d7fe7803e85e1202d0eb172717d7bf1bbaf (patch) | |
tree | b389816be4d8a0d465afe8f18c8beecd1bd77834 /drivers/net/ethernet/lantiq_etop.c | |
parent | f652151640344f8faee21fcf702b4fd46b8fe70b (diff) | |
download | linux-e41b2d7fe7803e85e1202d0eb172717d7bf1bbaf.tar.xz |
net: set dev->addr_assign_type correctly
Not a bitfield, but a plain value.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/lantiq_etop.c')
-rw-r--r-- | drivers/net/ethernet/lantiq_etop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c index c124e67a1a1c..cd3d2c09cdd0 100644 --- a/drivers/net/ethernet/lantiq_etop.c +++ b/drivers/net/ethernet/lantiq_etop.c @@ -655,7 +655,7 @@ ltq_etop_init(struct net_device *dev) /* Set addr_assign_type here, ltq_etop_set_mac_address would reset it. */ if (random_mac) - dev->addr_assign_type |= NET_ADDR_RANDOM; + dev->addr_assign_type = NET_ADDR_RANDOM; ltq_etop_set_multicast_list(dev); err = ltq_etop_mdio_init(dev); |