Jia-Ju Bai c2fd34469d iwl4965: Fix a memory leak in error handling code of __il4965_up
When il4965_hw_nic_init in __il4965_up fails, the memory allocated by
iwl4965_sta_alloc_lq in iwl4965_alloc_bcast_station is not freed.

This patches adds il_dealloc_bcast_stations in the error handling code of
__il4965_up to fix this problem.

This patch has been tested in real device, and it actually fixes the bug.

Signed-off-by: Jia-Ju Bai <baijiaju1990@163.com>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Julian Calaby <julian.calaby@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2016-04-07 19:37:49 +03:00
..
2016-03-18 23:14:15 -04:00
2016-03-10 10:30:21 +01:00
2016-03-17 21:05:01 -04:00
2016-04-04 16:24:13 -04:00
2016-03-23 14:35:31 -04:00
2016-03-13 22:08:01 -04:00
2016-03-13 22:40:24 -04:00
2016-03-13 22:40:24 -04:00
2016-03-17 21:05:01 -04:00
2016-03-13 22:40:24 -04:00
2016-03-01 15:54:31 -05:00