diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-12-07 10:13:05 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:06:12 -0500 |
commit | 1723047d6742cc172d5c0f1a5245deaee67ff331 (patch) | |
tree | 5285bceb2683c7c69249bf77b0a70fe1bb9d3729 /drivers/net/wireless/libertas/hostcmd.h | |
parent | 0856e6816b30a84aa74c70ecb2bde0c41402f647 (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.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 { | |||
72 | /* command response */ | 72 | /* command response */ |
73 | void *pdata_buf; | 73 | void *pdata_buf; |
74 | int *pdata_size; | 74 | int *pdata_size; |
75 | int (*callback)(uint16_t respcmd, struct cmd_ds_command *resp, struct lbs_private *priv); | ||
75 | /* command data */ | 76 | /* command data */ |
76 | u8 *bufvirtualaddr; | 77 | u8 *bufvirtualaddr; |
77 | /* wait queue */ | 78 | /* wait queue */ |