|
@@ -197,7 +197,7 @@ void rt2x00queue_insert_l2pad(struct sk_buff *skb, unsigned int header_length)
|
|
|
* the payload is already properly aligned.
|
|
|
*/
|
|
|
skb_push(skb, header_align);
|
|
|
- memmove(skb->data, skb->data + header_align, frame_length);
|
|
|
+ memmove(skb->data, skb->data + header_align, header_length);
|
|
|
skbdesc->flags |= SKBDESC_L2_PADDED;
|
|
|
} else {
|
|
|
/*
|