ath9k: Fix memleak on TX DMA failure
authorSujith <Sujith.Manoharan@atheros.com>
Mon, 13 Apr 2009 16:26:34 +0000 (21:56 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:46 +0000 (16:54 -0400)
commit675902ef822c114c0dac17ed10eed43eb8f5c9ec
tree87958b08f6161fc9e1bb64abeae86f3253fcf48e
parentd2f5b3a6778ae86fd93cb01ccac16aa0b079e441
ath9k: Fix memleak on TX DMA failure

The driver-specific region has to be freed in case
of a DMA mapping failure.

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