lantiq/xrx200-net: Add support for eth0 as WAN interface
[openwrt/openwrt.git] / target / linux / lantiq / patches-4.4 / 0025-NET-MIPS-lantiq-adds-xrx200-net.patch
index c01ab33f82377b5513e9b5f9b9afbb6d6ff2bf5a..4e60f3030288893bea3153bceb233a12c45a3961 100644 (file)
@@ -1297,7 +1297,7 @@ Subject: [PATCH 25/36] NET: MIPS: lantiq: adds xrx200-net
 +              special_tag |= port_map << PORT_MAP_SHIFT;
 +      }
 +      special_tag |= priv->port_map << PORT_MAP_SHIFT;
-+      if(priv->id)
++      if(priv->wan)
 +              special_tag |= (1 << DPID_SHIFT);
 +      if(skb_headroom(skb) < 4) {
 +              struct sk_buff *tmp = skb_realloc_headroom(skb, 4);