]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: ethtool: plca: Target the command to the requested PHY
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Wed, 21 Aug 2024 15:10:03 +0000 (17:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Aug 2024 12:04:34 +0000 (13:04 +0100)
commit02180fb525bac8c259c3b7271ddfa498d47c5dcc
treee2b27c26231916d5df4f224523b48fa673ae6240
parentd3d9a3e48a63eec82082a7ef76f5d5b6d339933f
net: ethtool: plca: Target the command to the requested PHY

PLCA 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/plca.c