Re: [PATCH net] r8152: fix the carrier off when autoresuming

2014-09-26 Thread David Miller
From: Hayes Wang Date: Tue, 23 Sep 2014 16:31:47 +0800 > netif_carrier_off would be called when autoresuming, even though > the cable is plugged. This causes some applications do relative > actions when detecting the carrier off. Keep the status of the > carrier, and let it be modified when the l

[PATCH net] r8152: fix the carrier off when autoresuming

2014-09-23 Thread Hayes Wang
netif_carrier_off would be called when autoresuming, even though the cable is plugged. This causes some applications do relative actions when detecting the carrier off. Keep the status of the carrier, and let it be modified when the linking change occurs. Signed-off-by: Hayes Wang --- drivers/ne