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>
This commit is contained in:
parent
8a27f7c90f
commit
38edb5b87e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue