r8152: clear LINK_OFF_WAKE_EN after autoresume
authorhayeswang <hayeswang@realtek.com>
Thu, 30 Jun 2016 07:33:35 +0000 (15:33 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Jul 2016 09:56:39 +0000 (05:56 -0400)
commitf95ae8a0edba1cb85110df4f1c96786419a0472f
tree0b113856bff2249b54821c7202c9d5cfdc65d475
parent9216a97a12b069c62f0e927a9f54be4883648a0f
r8152: clear LINK_OFF_WAKE_EN after autoresume

LINK_OFF_WAKE_EN should be cleared after autoresume, otherwise after
system suspend, the system would wake up when linking off occurs.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c