]> www.infradead.org Git - users/willy/xarray.git/commit
net: ethtool: cable-test: Target the command to the requested PHY
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Wed, 21 Aug 2024 15:10:05 +0000 (17:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Aug 2024 12:04:35 +0000 (13:04 +0100)
commit3688ff3077d3f334cee1d4b61d8bfb6a9508c2d2
tree5bb1e5ca533a7f0526ec0e278555d340bc98b0d2
parent31748765bed3fb7cebf4a32b43a6fdf91b9c23de
net: ethtool: cable-test: Target the command to the requested PHY

Cable testing is a PHY-specific command. Instead of targeting the command
towards dev->phydev, use the request to pick the targeted PHY.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Tested-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ethtool/cabletest.c