aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/health.c
diff options
context:
space:
mode:
authorPeter Fink <pfink@christ-es.de>2019-10-10 15:00:22 +0200
committerDavid S. Miller <davem@davemloft.net>2019-10-11 20:50:37 -0700
commit1635520aefc1056604ad60d042a64f43898c7108 (patch)
treeb889d5daf77cbebf07e0452526df297aeda6feea /drivers/net/ethernet/mellanox/mlx5/core/health.c
parentsock_get_timeout: drop unnecessary return variable (diff)
downloadlinux-dev-1635520aefc1056604ad60d042a64f43898c7108.tar.xz
linux-dev-1635520aefc1056604ad60d042a64f43898c7108.zip
net: usb: ax88179_178a: write mac to hardware in get_mac_addr
When the MAC address is supplied via device tree or a random MAC is generated it has to be written to the asix chip in order to receive any data. Previously in 9fb137aef34e ("net: usb: ax88179_178a: allow optionally getting mac address from device tree") this line was omitted because it seemed to work perfectly fine without it. But it was simply not detected because the chip keeps the mac stored even beyond a reset and it was tested on a hardware with an integrated UPS where the asix chip was permanently powered on even throughout power cycles. Fixes: 9fb137aef34e ("net: usb: ax88179_178a: allow optionally getting mac address from device tree") Signed-off-by: Peter Fink <pfink@christ-es.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/health.c')
0 files changed, 0 insertions, 0 deletions