libertas: make a handy lbs_cmd_async() command
authorHolger Schurig <hs4233@mail.mn-solutions.de>
Wed, 19 Mar 2008 09:11:00 +0000 (10:11 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 25 Mar 2008 20:41:48 +0000 (16:41 -0400)
commit8db4a2b986befabd2ad25c269e40444f06a6bda3
tree9b4d4edd92ba25dd739e12ae6a188b5c53ae75e9
parent712b6cf57a53da608a682b5f782c5785bda76001
libertas: make a handy lbs_cmd_async() command

This uses a static lbs_cmd_async_callback function, which is a
noop. Just setting the callback argument to __lbs_cmd_async()
to NULL won't work, because then the cmdnode wouldn't be
released.

This also makes __lbs_cmd_async() a static method, which is
now only used by lbs_cmd() and lbs_cmd_async().

Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cmd.c
drivers/net/wireless/libertas/cmd.h