mwifiex: correct packet length for packets from SDIO interface
authorAvinash Patil <patila@marvell.com>
Tue, 5 Nov 2013 23:01:44 +0000 (15:01 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Nov 2013 19:42:45 +0000 (14:42 -0500)
commitd03b4aa77e1187b77dfe37d14a923547f00baa66
treed7484b966fc32eb1bbf1c01c8fdff9e289d7cc6b
parent3545f3d5f4af715c914394123ce7725a9cf0a1c4
mwifiex: correct packet length for packets from SDIO interface

While receiving a packet on SDIO interface, we allocate skb with
size multiple of SDIO block size. We need to resize this skb
after RX using packet length from RX header.

Cc: <stable@vger.kernel.org>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/sdio.c