diff options
author | 2015-03-04 11:43:03 -0800 | |
---|---|---|
committer | 2015-03-05 21:15:21 -0500 | |
commit | 386668a61f90412a61a12719d15dfec58d0ece1c (patch) | |
tree | 76fe9c5c84e5600c159e79075188262ffc154c4e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: eth: xgene: fix booting with devicetree (diff) | |
download | linux-dev-386668a61f90412a61a12719d15dfec58d0ece1c.tar.xz linux-dev-386668a61f90412a61a12719d15dfec58d0ece1c.zip |
net: bcmgenet: properly disable password matching
bcmgenet_set_wol() correctly sets MPD_PW_EN when a password is specified
to match magic packets against, however, when we switch from a
password-matching to a matching without password we would leave this bit
turned on, and GENET would only match magic packets with passwords.
This can be reproduced using the following sequence:
ethtool -s eth0 wol g
ethtool -s eth0 wol s sopass 00:11:22:33:44:55
ethtool -s eth0 wol g
The simple fix is to clear the MPD_PWD_EN bit when WAKE_MAGICSECURE is
not set.
Fixes: c51de7f3976b ("net: bcmgenet: add Wake-on-LAN support code")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions