diff options
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/bnep/netdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/bnep/netdev.c b/net/bluetooth/bnep/netdev.c index e58c8b32589c..4b488ec26105 100644 --- a/net/bluetooth/bnep/netdev.c +++ b/net/bluetooth/bnep/netdev.c | |||
@@ -136,7 +136,7 @@ static u16 bnep_net_eth_proto(struct sk_buff *skb) | |||
136 | struct ethhdr *eh = (void *) skb->data; | 136 | struct ethhdr *eh = (void *) skb->data; |
137 | u16 proto = ntohs(eh->h_proto); | 137 | u16 proto = ntohs(eh->h_proto); |
138 | 138 | ||
139 | if (proto >= 1536) | 139 | if (proto >= ETH_P_802_3_MIN) |
140 | return proto; | 140 | return proto; |
141 | 141 | ||
142 | if (get_unaligned((__be16 *) skb->data) == htons(0xFFFF)) | 142 | if (get_unaligned((__be16 *) skb->data) == htons(0xFFFF)) |