Skip to content
Commit 2bddad9e authored by Justin Chen's avatar Justin Chen Committed by Jakub Kicinski
Browse files

ethtool: ioctl: account for sopass diff in set_wol



sopass won't be set if wolopt doesn't change. This means the following
will fail to set the correct sopass.
ethtool -s eth0 wol s sopass 11:22:33:44:55:66
ethtool -s eth0 wol s sopass 22:44:55:66:77:88

Make sure we call into the driver layer set_wol if sopass is different.

Fixes: 55b24334 ("ethtool: ioctl: improve error checking for set_wol")
Signed-off-by: default avatarJustin Chen <justin.chen@broadcom.com>
Link: https://lore.kernel.org/r/1686605822-34544-1-git-send-email-justin.chen@broadcom.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent e5d4a21b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment