Commit aa2e0926 authored by hayeswang's avatar hayeswang Committed by David S. Miller
Browse files

r8152: call rtl_start_rx after netif_carrier_on

Remove rtl_start_rx() from rtl_enable() and put it after calling

Signed-off-by: default avatarHayes Wang <>
Signed-off-by: default avatarDavid S. Miller <>
parent 3bf39475
......@@ -2059,7 +2059,7 @@ static int rtl_enable(struct r8152 *tp)
rxdy_gated_en(tp, false);
return rtl_start_rx(tp);
return 0;
static int rtl8152_enable(struct r8152 *tp)
......@@ -2874,6 +2874,7 @@ static void set_carrier(struct r8152 *tp)
set_bit(RTL8152_SET_RX_MODE, &tp->flags);
} else {
if (tp->speed & LINK_STATUS) {
Supports Markdown
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