]> git.baikalelectronics.ru Git - kernel.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)
commit61c2b0cd1c685728ce44cbf91564020c2c2f30d8
tree35051412cc365d73c30803e571e57474642dceaa
parenta1550c15d353ea76803a61d2f0b6f1396a3ced40
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