libertas: switch lbs_cmd() to take a callback function pointer
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 8 Dec 2007 00:59:54 +0000 (00:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:06:16 +0000 (15:06 -0800)
commit448a51ae0684c146c9f9ba4e178ab2182512258f
tree865dc30fe6ec85b901b8f944d11aa852ffd7a605
parentac47246e246c183ed68b3fdb307a83d00313a325
libertas: switch lbs_cmd() to take a callback function pointer

All existing code which sends commands is set up to have some function
called with the results, not to get data back. It's more versatile this
way, and providing it with a callback function which involves memcpy()
is hardly difficult.

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