ath9k_hw: Fix memory leak on ath9k_hw_rf_alloc_ext_banks failure
authorRajkumar Manoharan <rmanoharan@atheros.com>
Mon, 8 Nov 2010 15:10:53 +0000 (20:40 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Nov 2010 21:53:48 +0000 (16:53 -0500)
commit48a7c3df14d0cda850337a9b3f9e667a0b12a996
tree2e2957d7340001c441351ed0b3e4289dd475e665
parent490b3f4eacab3220383d2db49255a73995ecdf25
ath9k_hw: Fix memory leak on ath9k_hw_rf_alloc_ext_banks failure

The allocated externel radio banks have to be freed in
case of ath9k_hw_rf_alloc_ext_banks failure.

Cc: stable@kernel.org
Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c