Jesper Juhl db652e4b36 net, wireless, mwifiex: Fix mem leak in mwifiex_update_curr_bss_params()
If kmemdup() fails we leak the memory allocated to bss_desc.
This patch fixes the leak.
I also removed the pointless default assignment of 'NULL' to 'bss_desc'
while I was there anyway.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-11-07 13:19:15 -05:00
..
2011-10-02 00:19:34 +02:00
2011-10-13 13:49:37 -06:00
2011-09-27 18:08:04 +02:00
2011-09-27 18:08:04 +02:00
2011-09-21 16:19:44 -04:00
2011-09-27 18:08:04 +02:00
2011-10-04 10:10:50 -06:00
2011-10-24 21:00:34 +02:00