]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf13c77d446084402443f9f3289e186562478c7f6
treebaa706981ee58a01dc827ad86e05066c7de9a727
parent56bfc916d81b1e1c3f1ae34aaa73db3d92698f8e
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