]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:32:04 +0000 (13:32 -0800)
commitcd4d6dacabca8a970ccbe35c502943cdd19ef090
treeaf709789ae5118b62d2ee3c1f75ae689e2dd7719
parent78e8b99c3f6db6ad9e72c1a0b386212ba2a5a97d
ath9k_hw: Fix memory leak on ath9k_hw_rf_alloc_ext_banks failure

commit 48a7c3df14d0cda850337a9b3f9e667a0b12a996 upstream.

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

Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath9k/hw.c