Home
last modified time | relevance | path

Searched hist:"55 b24334" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/ethtool/
H A Dioctl.c55b24334 Wed Jun 07 18:14:11 CDT 2023 Justin Chen <justin.chen@broadcom.com> ethtool: ioctl: improve error checking for set_wol

The netlink version of set_wol checks for not supported wolopts and avoids
setting wol when the correct wolopt is already set. If we do the same with
the ioctl version then we can remove these checks from the driver layer.

Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Justin Chen <justin.chen@broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/1686179653-29750-1-git-send-email-justin.chen@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>