diff options
Diffstat (limited to 'net/bluetooth/6lowpan.c')
-rw-r--r-- | net/bluetooth/6lowpan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/6lowpan.c b/net/bluetooth/6lowpan.c index 45d9a9fef634..94bbb6611bc5 100644 --- a/net/bluetooth/6lowpan.c +++ b/net/bluetooth/6lowpan.c | |||
@@ -347,7 +347,7 @@ static int recv_pkt(struct sk_buff *skb, struct net_device *dev, | |||
347 | goto drop; | 347 | goto drop; |
348 | 348 | ||
349 | ret = process_data(local_skb, dev, chan); | 349 | ret = process_data(local_skb, dev, chan); |
350 | if (ret != NET_RX_SUCCESS) | 350 | if (ret < 0) |
351 | goto drop; | 351 | goto drop; |
352 | 352 | ||
353 | local_skb->protocol = htons(ETH_P_IPV6); | 353 | local_skb->protocol = htons(ETH_P_IPV6); |