summaryrefslogtreecommitdiffstats
path: root/drivers/net/wan
diff options
context:
space:
mode:
authorKrzysztof Halasa <khc@pm.waw.pl>2009-08-20 01:56:20 +0200
committerDavid S. Miller <davem@davemloft.net>2009-08-29 09:19:32 +0200
commit38edb5b87ea26314cb6ad4524c3f3b0fea0e33de (patch)
tree3cba7bdcb3754f685db6e71e41c837725e83ef3c /drivers/net/wan
parentlib/vsprintf.c: Add "%pI6c" - print pointer as compressed ipv6 address (diff)
downloadlinux-38edb5b87ea26314cb6ad4524c3f3b0fea0e33de.tar.xz
linux-38edb5b87ea26314cb6ad4524c3f3b0fea0e33de.zip
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')
-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;