diff options
| author | Florian Fainelli <f.fainelli@gmail.com> | 2019-02-01 13:23:38 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-20 10:13:15 +0100 |
| commit | 8d8aafcdd74f5c0964056378ca3267b118103179 (patch) | |
| tree | 55d45a3353d6732bbcf1aeb7b38913a973fac7da /net/dsa | |
| parent | 5296ebc355b230cbabdf05525001631a394285d3 (diff) | |
net: systemport: Fix WoL with password after deep sleep
[ Upstream commit 8dfb8d2cceb76b74ad5b58cc65c75994329b4d5e ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions
