Skip to content
Commit 52f8560e authored by Heiner Kallweit's avatar Heiner Kallweit Committed by David S. Miller
Browse files

r8169: fix network error on resume from suspend



This commit removed calls to rtl_set_rx_mode(). This is ok for the
standard path if the link is brought up, however it breaks system
resume from suspend. Link comes up but no network traffic.

Meanwhile common code from rtl_hw_start_8169/8101/8168() was moved
to rtl_hw_start(), therefore re-add the call to rtl_set_rx_mode()
there.

Due to adding this call we have to move definition of rtl_hw_start()
after definition of rtl_set_rx_mode().

Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Fixes: 82d3ff6d

 ("r8169: remove calls to rtl_set_rx_mode")
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d48f1958
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment