summaryrefslogtreecommitdiff
path: root/drivers/net/wan/lmc
diff options
context:
space:
mode:
authorKrzysztof Halasa <khc@pm.waw.pl>2009-08-20 03:56:20 +0400
committerDavid S. Miller <davem@davemloft.net>2009-08-29 11:19:32 +0400
commit38edb5b87ea26314cb6ad4524c3f3b0fea0e33de (patch)
tree3cba7bdcb3754f685db6e71e41c837725e83ef3c /drivers/net/wan/lmc
parent8a27f7c90ffcb791eed7574922b51fb60b08fc89 (diff)
downloadlinux-38edb5b87ea26314cb6ad4524c3f3b0fea0e33de.tar.xz
WAN/LMC: Fix type_trans().
Fix lmc_proto_type() invocation. Signed-off-by: Krzysztof HaƂasa <khc@pm.waw.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan/lmc')
-rw-r--r--drivers/net/wan/lmc/lmc_main.c2
1 files changed, 1 insertions, 1 deletions
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;