aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2014-01-06 20:52:43 -0500
committerDavid S. Miller <davem@davemloft.net>2014-01-27 19:43:03 -0500
commitce60e0c4df5f95086d5c2662c5cfa0beb8181c6d (patch)
tree7f8ce1a64db85838f2f45090191e94e6dc33c040 /net
parentb679ef73edc251f6d200a7dd2396e9fef9e36fc3 (diff)
net: 6lowpan: fixup for code movement
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ieee802154/6lowpan_iphc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ieee802154/6lowpan_iphc.c b/net/ieee802154/6lowpan_iphc.c
index 083f905bf109..860aa2d445ba 100644
--- a/net/ieee802154/6lowpan_iphc.c
+++ b/net/ieee802154/6lowpan_iphc.c
@@ -678,7 +678,7 @@ int lowpan_header_compress(struct sk_buff *skb, struct net_device *dev,
678 hc06_ptr += 3; 678 hc06_ptr += 3;
679 } else { 679 } else {
680 /* compress nothing */ 680 /* compress nothing */
681 memcpy(hc06_ptr, &hdr, 4); 681 memcpy(hc06_ptr, hdr, 4);
682 /* replace the top byte with new ECN | DSCP format */ 682 /* replace the top byte with new ECN | DSCP format */
683 *hc06_ptr = tmp; 683 *hc06_ptr = tmp;
684 hc06_ptr += 4; 684 hc06_ptr += 4;