]> git.karo-electronics.de Git - linux-beck.git/commit
ath9k_htc: Fix HTC layer memleak
authorSujith <Sujith.Manoharan@atheros.com>
Tue, 6 Apr 2010 09:58:19 +0000 (15:28 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 8 Apr 2010 19:24:11 +0000 (15:24 -0400)
commitf984d94c500c79048b33ab14923dfcec336d9968
tree3a955bb6f52f2824de4b3bf819e71992a18e54fe
parent6f0f2669f508fb239a0f589a8b453dbe22112bf9
ath9k_htc: Fix HTC layer memleak

Messages that are generated by the HTC layer
don't have any TX callback endpoints assigned to them.
Consequently, the allocated SKBs are never freed.

Fix this issue by handling this case in the HTC layer
itself.

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