aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/libertas/hostcmd.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2007-12-07 15:13:05 +0000
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:06:12 -0800
commit1723047d6742cc172d5c0f1a5245deaee67ff331 (patch)
tree5285bceb2683c7c69249bf77b0a70fe1bb9d3729 /drivers/net/wireless/libertas/hostcmd.h
parent0856e6816b30a84aa74c70ecb2bde0c41402f647 (diff)
libertas: Switch to using a callback function pointer for commands
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/hostcmd.h b/drivers/net/wireless/libertas/hostcmd.h
index be69ae65292..5ef65ae0de5 100644
--- a/drivers/net/wireless/libertas/hostcmd.h
+++ b/drivers/net/wireless/libertas/hostcmd.h
@@ -72,6 +72,7 @@ struct cmd_ctrl_node {
/* 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;
/* wait queue */