Re: [PATCH net] r8152: prevent the driver from transmitting packets with carrier off

2017-03-24 Thread David Miller
From: Hayes Wang Date: Thu, 23 Mar 2017 19:14:19 +0800 > The linking status may be changed when autosuspend. And, after > autoresume, the driver may try to transmit packets when the device > is carrier off, because the interrupt transfer doesn't update the > linking status, yet. And, if the devic

[PATCH net] r8152: prevent the driver from transmitting packets with carrier off

2017-03-23 Thread Hayes Wang
The linking status may be changed when autosuspend. And, after autoresume, the driver may try to transmit packets when the device is carrier off, because the interrupt transfer doesn't update the linking status, yet. And, if the device is in ALDPS mode, the device would stop working. The another s