net: phy: Put interface into oper testing during cable test
authorAndrew Lunn <andrew@lunn.ch>
Sun, 10 May 2020 19:12:39 +0000 (21:12 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sun, 10 May 2020 19:28:41 +0000 (12:28 -0700)
commit4a459bdc7472b0e6bea6d0dd8df66253ac4f3fe2
treebaa706981ee58a01dc827ad86e05066c7de9a727
parentfc879f723c2a938bcb69d5ae49ec0dba10c1ef97
net: phy: Put interface into oper testing during cable test

Since running a cable test is disruptive, put the interface into
operative state testing while the test is running.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/phy.c