Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38edb5b8 authored by Krzysztof Halasa's avatar Krzysztof Halasa Committed by David S. Miller
Browse files

WAN/LMC: Fix type_trans().



Fix lmc_proto_type() invocation.

Signed-off-by: default avatarKrzysztof Hałasa <khc@pm.waw.pl>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8a27f7c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;