aboutsummaryrefslogtreecommitdiffstats
path: root/net/ieee802154
diff options
context:
space:
mode:
Diffstat (limited to 'net/ieee802154')
-rw-r--r--net/ieee802154/6lowpan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c
index d2880352344e..9057f831dc1f 100644
--- a/net/ieee802154/6lowpan.c
+++ b/net/ieee802154/6lowpan.c
@@ -1179,7 +1179,7 @@ lowpan_skb_fragmentation(struct sk_buff *skb, struct net_device *dev)
1179 head[0] &= ~LOWPAN_DISPATCH_FRAG1; 1179 head[0] &= ~LOWPAN_DISPATCH_FRAG1;
1180 head[0] |= LOWPAN_DISPATCH_FRAGN; 1180 head[0] |= LOWPAN_DISPATCH_FRAGN;
1181 1181
1182 while ((payload_length - offset > 0) && (err >= 0)) { 1182 while (payload_length - offset > 0) {
1183 int len = LOWPAN_FRAG_SIZE; 1183 int len = LOWPAN_FRAG_SIZE;
1184 1184
1185 head[4] = offset / 8; 1185 head[4] = offset / 8;