Skip to content
Commit e27b51af authored by Markus Reichl's avatar Markus Reichl Committed by Greg Kroah-Hartman
Browse files

net: usb: Correct reset handling of smsc95xx

commit 0bf38853 upstream.

On boards with LAN9514 and no preconfigured MAC address we don't get an
ip address from DHCP after commit a049a30f ("net: usb: Correct PHY handling
of smsc95xx") anymore. Adding an explicit reset before starting the phy
fixes the issue.

[1]
https://lore.kernel.org/netdev/199eebbd6b97f52b9119c9fa4fd8504f8a34de18.camel@collabora.com/

From: Gabriel Hojda <ghojda@yo2urs.ro>
Fixes: a049a30f

 ("net: usb: Correct PHY handling of smsc95xx")
Signed-off-by: default avatarGabriel Hojda <ghojda@yo2urs.ro>
Signed-off-by: default avatarMarkus Reichl <m.reichl@fivetechno.de>
Tested-by: default avatarAlexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Cc: Fabio Estevam <festevam@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b54daeaf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment