mwifiex: update command response skb length correctly
authorAmitkumar Karwar <akarwar@marvell.com>
Fri, 15 Jul 2016 13:37:05 +0000 (19:07 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 18 Jul 2016 19:42:57 +0000 (22:42 +0300)
commit2fd40d2d349f0faf49460b4eca3f49dfe9094619
tree96a83627809d61d830a081ab0dd1fda6e375d07c
parent514952889544fcb069bbedfec4aa624fc9e26c4b
mwifiex: update command response skb length correctly

Same skb is being reused for storing command response from firmware
in PCIe chipsets. There was a bug while updating the skb length.
This patch ensures skb length correctly gets updated based on rx_len.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/pcie.c