diff options
author | Florian Fainelli <[email protected]> | 2020-09-16 20:43:10 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-09-17 16:55:35 -0700 |
commit | 5116a8ade333b6c2e180782139c9c516a437b21c (patch) | |
tree | 18036fd8155a82d365bff85350c52bdce072bfcb /lib/mpi/mpiutil.c | |
parent | c2b727df7caa33876e7066bde090f40001b6d643 (diff) |
net: phy: Do not warn in phy_stop() on PHY_DOWN
When phy_is_started() was added to catch incorrect PHY states,
phy_stop() would not be qualified against PHY_DOWN. It is possible to
reach that state when the PHY driver has been unbound and the network
device is then brought down.
Fixes: 2b3e88ea6528 ("net: phy: improve phy state checking")
Signed-off-by: Florian Fainelli <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions