Skip to contentSkip to conversation

WAN/LMC: Fix type_trans().

PATCH New Krzysztof Halasa 1 participant 1 message Aug 20, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 WAN/LMC: Fix type_trans().

Fix lmc_proto_type() invocation.

drivers/net/wan/lmc/lmc_main.c +1 -1
index 45b1822..1b46d56 100644
@@ -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;
Signature · 1 line
Krzysztof Halasa