diff options
Diffstat (limited to 'net/ieee802154')
-rw-r--r-- | net/ieee802154/6lowpan.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c index 872c8f97a30c..6b7d17fd5481 100644 --- a/net/ieee802154/6lowpan.c +++ b/net/ieee802154/6lowpan.c | |||
@@ -68,7 +68,7 @@ static LIST_HEAD(lowpan_devices); | |||
68 | struct lowpan_dev_info { | 68 | struct lowpan_dev_info { |
69 | struct net_device *real_dev; /* real WPAN device ptr */ | 69 | struct net_device *real_dev; /* real WPAN device ptr */ |
70 | struct mutex dev_list_mtx; /* mutex for list ops */ | 70 | struct mutex dev_list_mtx; /* mutex for list ops */ |
71 | unsigned short fragment_tag; | 71 | __be16 fragment_tag; |
72 | }; | 72 | }; |
73 | 73 | ||
74 | struct lowpan_dev_record { | 74 | struct lowpan_dev_record { |
@@ -424,7 +424,8 @@ lowpan_skb_fragmentation(struct sk_buff *skb, struct net_device *dev) | |||
424 | { | 424 | { |
425 | int err; | 425 | int err; |
426 | u16 dgram_offset, dgram_size, payload_length, header_length, | 426 | u16 dgram_offset, dgram_size, payload_length, header_length, |
427 | lowpan_size, frag_plen, offset, tag; | 427 | lowpan_size, frag_plen, offset; |
428 | __be16 tag; | ||
428 | u8 head[5]; | 429 | u8 head[5]; |
429 | 430 | ||
430 | header_length = skb->mac_len; | 431 | header_length = skb->mac_len; |