kernel: update linux 3.2 to 3.2.13 and refresh patches
[openwrt.git] / target / linux / lantiq / patches-3.2 / 200-owrt-netif_receive_skb.patch
1 --- a/drivers/net/ethernet/lantiq_etop.c
2 +++ b/drivers/net/ethernet/lantiq_etop.c
3 @@ -188,8 +188,12 @@ ltq_etop_hw_receive(struct ltq_etop_chan
4
5 skb_put(skb, len);
6 skb->dev = ch->netdev;
7 - skb->protocol = eth_type_trans(skb, ch->netdev);
8 - netif_receive_skb(skb);
9 + if (priv->phydev && priv->phydev->netif_receive_skb) {
10 + priv->phydev->netif_receive_skb(skb);
11 + } else {
12 + skb->protocol = eth_type_trans(skb, ch->netdev);
13 + netif_receive_skb(skb);
14 + }
15 }
16
17 static int
This page took 0.039284 seconds and 5 git commands to generate.