WAN/LMC: Fix type_trans().
authorKrzysztof Halasa <khc@pm.waw.pl>
Wed, 19 Aug 2009 23:56:20 +0000 (23:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Aug 2009 07:19:32 +0000 (00:19 -0700)
Fix lmc_proto_type() invocation.

Signed-off-by: Krzysztof HaƂasa <khc@pm.waw.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/lmc/lmc_main.c

index 6e6b08c3a1e0fe84ad16ab91c68a54ba745bbded..4b83d88728571913e3b4979f607551d6d4ffa407 100644 (file)
@@ -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;