]> git.baikalelectronics.ru Git - kernel.git/commit
carl9170: fix async command buffer leak
authorChristian Lamparter <chunkeey@googlemail.com>
Fri, 15 Oct 2010 23:38:46 +0000 (01:38 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Oct 2010 18:43:13 +0000 (14:43 -0400)
commit9d291a365fdb184cf0ced76079fe08e7587b09fa
treeb1755091c8b48bcdafda1656f8cc7404bc05bee2
parentd2599c409a9faa425ab675c602569bdc609e68b8
carl9170: fix async command buffer leak

If __carl9170_exec_cmd fails to upload an asynchronous
command to the device, the functions: carl9170_reboot
and carl9170_powersave will leak the temporary command
assembly buffer.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/carl9170/usb.c