mwifiex: fix memory leak in mwifiex_send_processed_packet()
authorAmitkumar Karwar <akarwar@marvell.com>
Fri, 30 Jan 2015 08:40:05 +0000 (00:40 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Feb 2015 13:28:53 +0000 (15:28 +0200)
commit7a1f4e61eb6417aecd20822a5f15e72d21c7f3f9
treee53cfddb7b51c27ce9c58484831e9dbe7fb3b11d
parentee6f0dd8a836311883fedfe060f23e0da2176950
mwifiex: fix memory leak in mwifiex_send_processed_packet()

Memory is leaked after downloading already processed packet. This
patch fixes the problem by freeing returned skb. Other transmit
paths don't have this problem.

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