From: hayeswang Date: Wed, 29 Oct 2014 03:12:16 +0000 (+0800) Subject: r8152: reset tp->speed before autoresuming in open function X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~25^2~18^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4c7476b041d200c3b347f019eebf05e6d0b47f9;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed