• H
    r8169: fix network error on resume from suspend · 52f8560e
    Heiner Kallweit 提交于
    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: NHeiner Kallweit <hkallweit1@gmail.com>
    Fixes: 82d3ff6d ("r8169: remove calls to rtl_set_rx_mode")
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    52f8560e
r8169.c 194.8 KB