]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: fix usb tx data payload offset issue
authorZhaoyang Liu <liuzy@marvell.com>
Fri, 13 Feb 2015 15:08:16 +0000 (20:38 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 27 Feb 2015 08:14:02 +0000 (10:14 +0200)
commitd51553a0a8425a4489761594605220091b157d39
treed6d88fb447e71d653d13456258f62c203d618790
parenta721913cfd443c993f90fb09fc4c8d558f651830
mwifiex: fix usb tx data payload offset issue

Commit aac680ea1ac5e2d2 ("mwifiex: make tx packet 64 byte DMA aligned")
induced payload offset issue for USB interface.

There is no USB interface header for tx packets, so there's no need to
pull interface length while processing tx skb.

This patch fixes this issue.

Signed-off-by: Zhaoyang Liu <liuzy@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/txrx.c