Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[firefly-linux-kernel-4.4.55.git] / net / bluetooth / bnep / netdev.c
index e58c8b32589c44811c042a623c48e1ca1d8550a1..4b488ec261054830c6f45bfe3a6a3a9cfd65f316 100644 (file)
@@ -136,7 +136,7 @@ static u16 bnep_net_eth_proto(struct sk_buff *skb)
        struct ethhdr *eh = (void *) skb->data;
        u16 proto = ntohs(eh->h_proto);
 
-       if (proto >= 1536)
+       if (proto >= ETH_P_802_3_MIN)
                return proto;
 
        if (get_unaligned((__be16 *) skb->data) == htons(0xFFFF))