hayeswang 2dd49e0f16 r8152: fix the runtime suspend issues
Fix the runtime suspend issues result from the linking change.

Case 1:
a) link down occurs.
b) driver disable tx/rx.
c) autosuspend occurs.
d) hw linking up.
e) device suspends without enabling tx/rx.
f) couldn't wake up when receiving packets.

Case 2:
a) Nway results in linking down.
b) autosuspend occurs.
c) device suspends.
d) device may not wake up when linking up.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-09-09 20:27:54 -07:00
..
2015-08-09 16:28:09 -07:00
2015-09-01 13:09:20 -07:00
2015-08-31 15:49:19 -07:00
2015-08-07 15:02:59 +02:00
2015-08-15 22:10:26 -04:00
2015-09-01 13:00:04 -07:00
2015-08-09 16:28:09 -07:00
2015-09-09 20:27:54 -07:00
2015-08-14 16:45:51 -07:00
2015-09-01 13:09:20 -07:00
2015-09-01 12:18:40 -07:00
2015-09-01 13:00:04 -07:00
2015-08-09 16:28:09 -07:00