libertas: fix scheduling while atomic bug in CMD_MAC_CONTROL
authorHolger Schurig <hs4233@mail.mn-solutions.de>
Tue, 18 Mar 2008 10:20:21 +0000 (11:20 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 25 Mar 2008 20:41:48 +0000 (16:41 -0400)
commitc97329e21fc487ebf251c920d46537ff5fb4d8a7
tree03b7a00e3456cb7ee2b59df90984a551ed141f1f
parent8db4a2b986befabd2ad25c269e40444f06a6bda3
libertas: fix scheduling while atomic bug in CMD_MAC_CONTROL

The old code incorrectly used lbs_cmd_with_response() and now uses
lbs_cmd_async().

While there I noticed that there is no real useful return values for
asynchronous command functions, so I made the function "void".

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/assoc.c
drivers/net/wireless/libertas/cmd.c
drivers/net/wireless/libertas/decl.h