commit | 19813162895a696c5814d76e5f8fb6203d70f6e0 | [log] [tgz] |
---|---|---|
author | Hayes Wang <hayeswang@realtek.com> | Wed Jan 22 16:02:12 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 23 11:20:57 2020 +0100 |
tree | de5ed761ebe5f8ffcfd522e0be61191c07f788ef | |
parent | a0246dafe684a6d5ad31ccd59af0334ccf0cc7b2 [diff] |
r8152: avoid the MCU to clear the lanwake Avoid the MCU to clear the lanwake after suspending. It may cause the WOL fail. Disable LANWAKE_CLR_EN before suspending. Besides,enable it and reset the lanwake status when resuming or initializing. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>