usbnet: run unbind() before unregister_netdev()
unbind() is the proper place to disconnect PHY, but it will fail if netdev is already unregistered. Signed-off-by:Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by:
David S. Miller <davem@davemloft.net>
parent
06edf1a9
Please register or sign in to comment