]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: corrections in PCIe event skb handling
authorAmitkumar Karwar <akarwar@marvell.com>
Wed, 22 Jul 2015 11:53:45 +0000 (04:53 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 6 Aug 2015 07:14:00 +0000 (10:14 +0300)
commit0b865d11f83eefe8d41acbb9349d60668bc471a2
tree339e0032347a4680c82400aa12d0d0c0268038b9
parent3d063317eb5e94d425642afcd5a2970c3102a067
mwifiex: corrections in PCIe event skb handling

Preallocated event SKBs are getting reused for PCIe chipset.
Their physical addresses are shared with firmware so that
firmware can write data into them.

This patch makes sure that SKB is cleared and length is set to
default while submitting it to firmware.

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