diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-12-08 00:59:54 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 23:06:16 (GMT) |
commit | 448a51ae0684c146c9f9ba4e178ab2182512258f (patch) | |
tree | 865dc30fe6ec85b901b8f944d11aa852ffd7a605 /drivers/net/wireless/libertas/hostcmd.h | |
parent | ac47246e246c183ed68b3fdb307a83d00313a325 (diff) | |
download | linux-fsl-qoriq-448a51ae0684c146c9f9ba4e178ab2182512258f.tar.xz |
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>
Diffstat (limited to 'drivers/net/wireless/libertas/hostcmd.h')
-rw-r--r-- | drivers/net/wireless/libertas/hostcmd.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/hostcmd.h b/drivers/net/wireless/libertas/hostcmd.h index efdb720..f1c1d3f 100644 --- a/drivers/net/wireless/libertas/hostcmd.h +++ b/drivers/net/wireless/libertas/hostcmd.h @@ -71,7 +71,6 @@ struct cmd_ctrl_node { u16 wait_option; /* command response */ void *pdata_buf; - int *pdata_size; int (*callback)(uint16_t respcmd, struct cmd_ds_command *resp, struct lbs_private *priv); /* command data */ u8 *bufvirtualaddr; |