jme: Do not enable NIC WoL functions on S0
authorGuo-Fu Tseng <cooldavid@cooldavid.org>
Sat, 5 Mar 2016 00:11:55 +0000 (08:11 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Mar 2016 20:39:45 +0000 (15:39 -0500)
commit0772a99b818079e628a1da122ac7ee023faed83e
tree6dce760dcb4996d4a223bd74eb224ad47e751534
parent59dca1d8a6725a121dae6c452de0b2611d5865dc
jme: Do not enable NIC WoL functions on S0

Otherwise it might be back on resume right after going to suspend in
some hardware.

Reported-by: Diego Viola <diego.viola@gmail.com>
Signed-off-by: Guo-Fu Tseng <cooldavid@cooldavid.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/jme.c