]> git.baikalelectronics.ru Git - kernel.git/commit
carl9170: fix memory leak issue in async cmd macro wrappers
authorChristian Lamparter <chunkeey@googlemail.com>
Sat, 16 Oct 2010 18:47:50 +0000 (20:47 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Oct 2010 18:43:14 +0000 (14:43 -0400)
commit68fd4ad413c18bc43b8816cf6f457a295561f09b
tree3b5ffe5a631cbb0b22eb8f6381c0c9bb4a1e69d3
parent37e7c434379c346d1aac3e6bcdebe189a9ea841c
carl9170: fix memory leak issue in async cmd macro wrappers

This patch continues where the previous commit:
"carl9170: fix async command buffer leak"
left off.

Similar to carl9170_reboot/carl9170_powersave, the
carl9170_async_regwrite* macros would leak the
temporary command buffer, if __carl9170_exec_cmd
fails to upload the command to the device.

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