libertas: clean up direct command handling
authorDan Williams <dcbw@redhat.com>
Tue, 11 Dec 2007 17:33:30 +0000 (12:33 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:06:41 +0000 (15:06 -0800)
commit7ad994dec7d36c319cb35cbf3a920d3bda96e6b0
treeb186f3896514d34a86438b61bf3770fde0e4d960
parentb15152a4033d4c82015bb79c6b81eeb0a2edeeea
libertas: clean up direct command handling

Move direct command handling through __lbs_cmd() over to using the
header as the first member of the command structure, and only define
the __lbs_cmd() callback in one place rather than 3.  Convert boot2
version command to new usage.

Signed-off-by: Dan Williams <dcbw@redhat.com>
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/cmd.h
drivers/net/wireless/libertas/cmdresp.c
drivers/net/wireless/libertas/hostcmd.h