You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
479 B
11 lines
479 B
--- 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) - ETH_FCS_LEN;
|
|
+ int len = (desc->ctl & LTQ_DMA_SIZE_MASK);
|
|
unsigned long flags;
|
|
|
|
spin_lock_irqsave(&priv->hw->lock, flags);
|
|
|