carl9170: fix async command buffer leak
commitcae7f953e8afa9b1ce234fd0907183b643cc5ab8
authorChristian Lamparter <chunkeey@googlemail.com>
Fri, 15 Oct 2010 23:38:46 +0000 (16 01:38 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Oct 2010 18:43:13 +0000 (25 14:43 -0400)
treeb1755091c8b48bcdafda1656f8cc7404bc05bee2
parent9192f715bc6304b97fe06c6215d4897a5c279e81
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