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

From: David Miller
Date: Fri Sep 26 2014 - 16:13:37 EST


From: Hayes Wang <hayeswang@xxxxxxxxxxx>
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 linking change occurs.
>
> Signed-off-by: Hayes Wang <hayeswang@xxxxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/