r8169: fix RTL8168EP take too long to complete driver initialization.

[ Upstream commit 086ca23d03 ]

Driver check the wrong register bit in rtl_ocp_tx_cond() that keep driver
waiting until timeout.

Fix this by waiting for the right register bit.

Signed-off-by: Chunhao Lin <hau@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Chunhao Lin 2018-01-31 01:32:36 +08:00 • committed by Greg Kroah-Hartman
commit b0acbef9ed