mwl8k: fix configure_filter() memory leak on error
authorLennert Buytenhek <buytenh@wantstofly.org>
Sat, 2 Jan 2010 09:31:42 +0000 (10:31 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 4 Jan 2010 21:09:48 +0000 (16:09 -0500)
commit90852f7aed0f90d443efd7e0f9b82d8ac8186848
tree07c7daa265dd6c2cfed47dceb912f8c6aae50c0b
parent13bda1225072f26603d3aeefc1f14c18b2ab29cd
mwl8k: fix configure_filter() memory leak on error

If there was an error acquiring the firmware lock in
mwl8k_configure_filter(), we would end up leaking the multicast
command packet prepared by mwl8k_prepare_multicast().

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c