diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-11-03 15:15:52 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-11-03 15:15:52 +0000 |
commit | dfffaea839fd631ec0b3d4f58540316a04c4f2ad (patch) | |
tree | b174b3a3d03c0c2b4a9b9c980efe38089069a2d4 /target/linux/lantiq/patches-3.0/200-owrt-netif_receive_skb.patch | |
parent | de6080b7c2e5f3d2a9ed9677e3df0667bfc31842 (diff) |
lantiq: bump to 3.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28721 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/patches-3.0/200-owrt-netif_receive_skb.patch')
-rw-r--r-- | target/linux/lantiq/patches-3.0/200-owrt-netif_receive_skb.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/target/linux/lantiq/patches-3.0/200-owrt-netif_receive_skb.patch b/target/linux/lantiq/patches-3.0/200-owrt-netif_receive_skb.patch deleted file mode 100644 index 120266c99..000000000 --- a/target/linux/lantiq/patches-3.0/200-owrt-netif_receive_skb.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/drivers/net/lantiq_etop.c -+++ b/drivers/net/lantiq_etop.c -@@ -147,8 +147,12 @@ ltq_etop_hw_receive(struct ltq_etop_chan - - skb_put(skb, len); - skb->dev = ch->netdev; -- skb->protocol = eth_type_trans(skb, ch->netdev); -- netif_receive_skb(skb); -+ if (priv->phydev && priv->phydev->netif_receive_skb) { -+ priv->phydev->netif_receive_skb(skb); -+ } else { -+ skb->protocol = eth_type_trans(skb, ch->netdev); -+ netif_receive_skb(skb); -+ } - } - - static int |