summaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorhayeswang <hayeswang@realtek.com>2014-10-29 11:12:16 +0800
committerDavid S. Miller <davem@davemloft.net>2014-10-30 15:49:00 -0400
commitf4c7476b041d200c3b347f019eebf05e6d0b47f9 (patch)
tree15725bc40b85bfacf6f2f7aca23e06bcc3383d21 /net/switchdev/switchdev.c
parent923e1ee3ff0b585cc4f56cf696c8455708537ffb (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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions