lantiq: update to 3.14
[openwrt.git] / target / linux / lantiq / patches-3.14 / 0100-lantiq-xrx200-strip-fcs.patch
1 --- a/drivers/net/ethernet/lantiq_xrx200.c
2 +++ b/drivers/net/ethernet/lantiq_xrx200.c
3 @@ -933,7 +933,7 @@ static void xrx200_hw_receive(struct xrx
4         struct xrx200_priv *priv = netdev_priv(dev);
5         struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc];
6         struct sk_buff *skb = ch->skb[ch->dma.desc];
7 -       int len = (desc->ctl & LTQ_DMA_SIZE_MASK) - ETH_FCS_LEN;
8 +       int len = (desc->ctl & LTQ_DMA_SIZE_MASK);
9         unsigned long flags;
10  
11         spin_lock_irqsave(&priv->hw->lock, flags);