r8152: disable teredo for RTL8152
authorhayeswang <hayeswang@realtek.com>
Tue, 18 Feb 2014 13:49:08 +0000 (21:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Feb 2014 21:40:02 +0000 (16:40 -0500)
Disable teredo for RTL8152 by default.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c

index f303549b416a67feda4367470ed9d7919d75ac75..3ff11ed6ee516bbd6899a202936929a78c09449f 100644 (file)
@@ -2021,6 +2021,7 @@ static void r8152b_exit_oob(struct r8152 *tp)
        ocp_write_dword(tp, MCU_TYPE_PLA, PLA_RCR, ocp_data);
 
        rxdy_gated_en(tp, true);
+       r8153_teredo_off(tp);
        r8152b_hw_phy_cfg(tp);
 
        ocp_write_byte(tp, MCU_TYPE_PLA, PLA_CRWECR, CRWECR_NORAML);