r8169: don't enable rx when shutdown.
authorHayes Wang <hayeswang@realtek.com>
Fri, 5 Oct 2012 21:29:09 +0000 (23:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Oct 2012 20:28:12 +0000 (05:28 +0900)
commit567660504db3899c076acdd7e466b6c1d6d46592
treea1b57da7db72a1596683b99780ab3c7e080fde61
parent39ee3305297e471046d932b088190e54e1552fda
r8169: don't enable rx when shutdown.

commit aaa89c08d9ffa3739c93d65d98b73ec2aa2e93a5 upstream.

Only 8111b needs to enable rx when shutdowning with WoL.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Acked-by: Francois Romieu <romieu@fr.zoreil.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/r8169.c