libertas: don't use __lbs_cmd() with empty callback in if_usb.c
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 15 Dec 2007 06:22:09 +0000 (01:22 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:07:30 +0000 (15:07 -0800)
commitb23b2061e5758d4827630ee900b4b290376d0059
tree5fd2d2357ff47b49f00d4187730c25a9b11f1303
parentd9896ee14768e3dd6ce2f57a0d518b5b18a924a1
libertas: don't use __lbs_cmd() with empty callback in if_usb.c

We're about to change semantics, leaving callers of
lbs_prepare_and_send_command() with the old broken priv->cur_cmd_retcode
crap. The existence of the callback command will be the trigger for the
new semantics when handling the response.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/if_usb.c