]> git.karo-electronics.de Git - linux-beck.git/commit
mwifiex: reset skb length before inserting to free queue
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 22 Sep 2011 04:43:25 +0000 (21:43 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Sep 2011 18:34:04 +0000 (14:34 -0400)
commit5cf80993add2d01dcfe3283cb290998b9d3d72cd
tree5169c1dde2837376e0883021aa509f61014d2197
parent4ed5d521b062b7256dcfe46a3194f89ff44fdc66
mwifiex: reset skb length before inserting to free queue

After handling command response, cmd skb is inserted into command
free queue(which keeps track of availabile skbs) for reuse purpose.
Skb length is not getting reset to zero here. This patch takes care
of it.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cmdevt.c