From: Krzysztof Halasa Date: Wed, 19 Aug 2009 23:56:20 +0000 (+0000) Subject: WAN/LMC: Fix type_trans(). X-Git-Tag: v2.6.32-rc1~703^2~243 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=38edb5b87ea26314cb6ad4524c3f3b0fea0e33de;p=karo-tx-linux.git WAN/LMC: Fix type_trans(). Fix lmc_proto_type() invocation. Signed-off-by: Krzysztof HaƂasa Signed-off-by: David S. Miller --- diff --git a/drivers/net/wan/lmc/lmc_main.c b/drivers/net/wan/lmc/lmc_main.c index 6e6b08c3a1e0..4b83d8872857 100644 --- a/drivers/net/wan/lmc/lmc_main.c +++ b/drivers/net/wan/lmc/lmc_main.c @@ -1657,7 +1657,7 @@ static int lmc_rx(struct net_device *dev) } skb_copy_from_linear_data(skb, skb_put(nsb, len), len); - nsb->protocol = lmc_proto_type(sc, skb); + nsb->protocol = lmc_proto_type(sc, nsb); skb_reset_mac_header(nsb); /* skb_reset_network_header(nsb); */ nsb->dev = dev;