diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-01-01 03:30:15 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-03 22:37:35 -0800 |
commit | e41b2d7fe7803e85e1202d0eb172717d7bf1bbaf (patch) | |
tree | b389816be4d8a0d465afe8f18c8beecd1bd77834 /drivers/net/ethernet/atheros/atlx | |
parent | f652151640344f8faee21fcf702b4fd46b8fe70b (diff) | |
download | linux-e41b2d7fe7803e85e1202d0eb172717d7bf1bbaf.tar.bz2 |
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/atheros/atlx')
-rw-r--r-- | drivers/net/ethernet/atheros/atlx/atl1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/atheros/atlx/atl1.c b/drivers/net/ethernet/atheros/atlx/atl1.c index 71b3d7daa21d..5b0d9931c720 100644 --- a/drivers/net/ethernet/atheros/atlx/atl1.c +++ b/drivers/net/ethernet/atheros/atlx/atl1.c @@ -3053,7 +3053,7 @@ static int atl1_probe(struct pci_dev *pdev, const struct pci_device_id *ent) /* copy the MAC address out of the EEPROM */ if (atl1_read_mac_addr(&adapter->hw)) { /* mark random mac */ - netdev->addr_assign_type |= NET_ADDR_RANDOM; + netdev->addr_assign_type = NET_ADDR_RANDOM; } memcpy(netdev->dev_addr, adapter->hw.mac_addr, netdev->addr_len); |