]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
r8169: reject unsupported WoL options
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 25 Jun 2018 18:34:41 +0000 (20:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Jun 2018 14:07:01 +0000 (23:07 +0900)
commit2f533f6bd8300b11e8d941c9a8f51183a9d88c9c
tree35051412cc365d73c30803e571e57474642dceaa
parent99672eb6c63c5207e4e1a6283ec4fc46aafeb07c
r8169: reject unsupported WoL options

So far unsupported WoL options are silently ignored. Change this and
reject attempts to set unsupported options. This prevents situations
where a user tries to set an unsupported WoL option and is under the
impression it was successful because ethtool doesn't complain.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c