jme: Do not enable NIC WoL functions on S0
commitbf40aff79df3983d54d7c22467d1992a5039ee08
authorGuo-Fu Tseng <cooldavid@cooldavid.org>
Sat, 5 Mar 2016 00:11:55 +0000 (5 08:11 +0800)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 30 Apr 2016 22:06:15 +0000 (1 00:06 +0200)
treec9c61d459e8e164654a6b613558ae7d56553c0b6
parentb250facb1fec612dab0f5dffad3e1c492782a2ef
jme: Do not enable NIC WoL functions on S0

commit 0772a99b818079e628a1da122ac7ee023faed83e upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/net/ethernet/jme.c