]> 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)
commit719d7139af4e72399f0599ba41873204fae84a99
tree35051412cc365d73c30803e571e57474642dceaa
parent81d6b1fda82d1083f49b79505b3535867d00f734
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