If A-MSDU is enabled in transmit, the frame is translated
to MSDU sub frame format from Ethernet format.
But the MAC header in SKB is not updated and it causes
access to wrong offset for destination address.
The MAC header offset is corrected in such translation.
Change-Id: I509dd5754ccd1d179ca63b9e232264a0fdd76b0e
SCSC-Bug-Id: SQA-3156
Signed-off-by: Debabrata Purohit <d.purohit@samsung.com>
memset(msduh.oui, 0x0, 3);
msduh.type = ehdr->h_proto;
(void)skb_push(skb, sizeof(struct msduhdr) - sizeof(struct ethhdr));
+ /* update SKB mac_header to point to start of MSDU header */
+ skb->mac_header -= (sizeof(struct msduhdr) - sizeof(struct ethhdr));
memcpy(skb->data, &msduh, sizeof(struct msduhdr));
}