diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2019-02-01 22:23:38 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-03 20:23:50 +0100 |
commit | 8dfb8d2cceb76b74ad5b58cc65c75994329b4d5e (patch) | |
tree | a6a27afc8a495e40f30e5c873c0eb4946f1b3337 /samples | |
parent | Merge branch 'vsock-virtio-hot-unplug' (diff) | |
download | linux-8dfb8d2cceb76b74ad5b58cc65c75994329b4d5e.tar.xz linux-8dfb8d2cceb76b74ad5b58cc65c75994329b4d5e.zip |
net: systemport: Fix WoL with password after deep sleep
Broadcom STB chips support a deep sleep mode where all register
contents are lost. Because we were stashing the MagicPacket password
into some of these registers a suspend into that deep sleep then a
resumption would not lead to being able to wake-up from MagicPacket with
password again.
Fix this by keeping a software copy of the password and program it
during suspend.
Fixes: 83e82f4c706b ("net: systemport: add Wake-on-LAN support")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions