Commit c2b3d140 authored by blogic's avatar blogic

lantiq: lantiq: remove strip-fcs patch that seems to introduce regression on multiple devices

Signed-off-by: default avatarEddi De Pieri <>

git-svn-id: svn:// 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent c8231549
--- a/drivers/net/ethernet/lantiq_xrx200.c
+++ b/drivers/net/ethernet/lantiq_xrx200.c
@@ -933,7 +933,7 @@ static void xrx200_hw_receive(struct xrx
struct xrx200_priv *priv = netdev_priv(dev);
struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc];
struct sk_buff *skb = ch->skb[ch->dma.desc];
- int len = (desc->ctl & LTQ_DMA_SIZE_MASK);
+ int len = (desc->ctl & LTQ_DMA_SIZE_MASK) - ETH_FCS_LEN;
unsigned long flags;
spin_lock_irqsave(&priv->hw->lock, flags);
Markdown is supported
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