aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wan
diff options
context:
space:
mode:
authorKrzysztof Halasa <khc@pm.waw.pl>2009-08-19 23:56:20 +0000
committerDavid S. Miller <davem@davemloft.net>2009-08-29 00:19:32 -0700
commit38edb5b87ea26314cb6ad4524c3f3b0fea0e33de (patch)
tree3cba7bdcb3754f685db6e71e41c837725e83ef3c /drivers/net/wan
parent8a27f7c90ffcb791eed7574922b51fb60b08fc89 (diff)
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 6e6b08c3a1e..4b83d887285 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;