diff options
author | John Crispin <blogic@openwrt.org> | 2014-08-18 13:09:30 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-08-18 13:09:30 +0000 |
commit | 6e787b6f14eb598b3584bc48e9678f5c542e50d3 (patch) | |
tree | e4801c3cb7d4217b992293bbfe69af22237a14da /target/linux/lantiq/patches-3.14/0100-lantiq-xrx200-strip-fcs.patch | |
parent | a7b7f7d885f148809e0a83802bed834f0bfc3bf8 (diff) | |
download | master-187ad058-6e787b6f14eb598b3584bc48e9678f5c542e50d3.tar.gz master-187ad058-6e787b6f14eb598b3584bc48e9678f5c542e50d3.tar.bz2 master-187ad058-6e787b6f14eb598b3584bc48e9678f5c542e50d3.zip |
lantiq: update to 3.14
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42188 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/patches-3.14/0100-lantiq-xrx200-strip-fcs.patch')
-rw-r--r-- | target/linux/lantiq/patches-3.14/0100-lantiq-xrx200-strip-fcs.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/lantiq/patches-3.14/0100-lantiq-xrx200-strip-fcs.patch b/target/linux/lantiq/patches-3.14/0100-lantiq-xrx200-strip-fcs.patch new file mode 100644 index 0000000000..6b5285f2c0 --- /dev/null +++ b/target/linux/lantiq/patches-3.14/0100-lantiq-xrx200-strip-fcs.patch @@ -0,0 +1,11 @@ +--- 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); |