commit | f4c7476b041d200c3b347f019eebf05e6d0b47f9 | [log] [tgz] |
---|---|---|
author | hayeswang <hayeswang@realtek.com> | Wed Oct 29 11:12:16 2014 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 30 15:49:00 2014 -0400 |
tree | 15725bc40b85bfacf6f2f7aca23e06bcc3383d21 | |
parent | 923e1ee3ff0b585cc4f56cf696c8455708537ffb [diff] |
r8152: reset tp->speed before autoresuming in open function If (tp->speed & LINK_STATUS) is not zero, the rtl8152_resume() would call rtl_start_rx() before enabling the tx/rx. Avoid this by resetting it to zero. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>