diff options
author | Gavin Schenk <[email protected]> | 2016-09-30 11:46:10 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-10-03 01:27:41 -0400 |
commit | b82d44d78480faff7456e9e0999acb9d38666057 (patch) | |
tree | c738a32907d1d236e95e4424064175a68c27e83c /net/unix/sysctl_net_unix.c | |
parent | 3a82e78c131a8199d38cf653b523c8fa2909df65 (diff) |
net: fec: set mac address unconditionally
If the mac address origin is not dt, you can only safely assign a mac
address after "link up" of the device. If the link is off the clocks are
disabled and because of issues assigning registers when clocks are off the
new mac address cannot be written in .ndo_set_mac_address() on some soc's.
This fix sets the mac address unconditionally in fec_restart(...) and
ensures consistency between fec registers and the network layer.
Signed-off-by: Gavin Schenk <[email protected]>
Acked-by: Fugang Duan <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Fixes: 9638d19e4816 ("net: fec: add netif status check before set mac address")
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions