commit | 445f7f4d62628cb2971db884084d162ecb622ec7 | [log] [tgz] |
---|---|---|
author | hayeswang <hayeswang@realtek.com> | Tue Sep 23 16:31:47 2014 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 26 16:13:17 2014 -0400 |
tree | e32d834fc77c2018056b0910816cc7ce0b9ee868 | |
parent | 9026968abe7ad102f4ac5c6d96d733643f75399c [diff] |
r8152: fix the carrier off when autoresuming 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@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>