diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-12-07 16:13:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-29 00:06:12 +0100 |
commit | 1723047d6742cc172d5c0f1a5245deaee67ff331 (patch) | |
tree | 5285bceb2683c7c69249bf77b0a70fe1bb9d3729 /drivers/net/wireless/libertas/hostcmd.h | |
parent | libertas: when usb_submit_usb fails, include the error code in the printk (diff) | |
download | linux-1723047d6742cc172d5c0f1a5245deaee67ff331.tar.xz linux-1723047d6742cc172d5c0f1a5245deaee67ff331.zip |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/hostcmd.h b/drivers/net/wireless/libertas/hostcmd.h index be69ae652923..5ef65ae0de5a 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 */ |