Merge tag 'v3.10.106' into update
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / net / ieee802154 / 6lowpan.c
index ca118e8cb141de63c8cac2e4813fad7bd70192b9..9d06b37acc4cb290a28a8de75ed65592e73ab1a7 100644 (file)
@@ -459,7 +459,7 @@ static int lowpan_header_create(struct sk_buff *skb,
                        hc06_ptr += 3;
                } else {
                        /* compress nothing */
-                       memcpy(hc06_ptr, &hdr, 4);
+                       memcpy(hc06_ptr, hdr, 4);
                        /* replace the top byte with new ECN | DSCP format */
                        *hc06_ptr = tmp;
                        hc06_ptr += 4;