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>
This commit is contained in:
David Woodhouse
2007-12-07 15:13:05 +00:00
committed by David S. Miller
parent 0856e6816b
commit 1723047d67
3 changed files with 34 additions and 21 deletions

View File

@@ -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 */