summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/libertas/decl.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2007-12-10 13:36:10 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:06:34 -0800
commit1309b55b4de18bbfe19c73225a5481d6cdc8a463 (patch)
tree7993651309a0a35f8ec954fffa0b7b04003f9d32 /drivers/net/wireless/libertas/decl.h
parentb6b8abe4ddec2cfb3471ea60f965a137cd4d529d (diff)
libertas: add opaque extra argument to cmd callback function
This will be useful for letting callbacks do stuff like copying the response into a buffer provided by the caller of lbs_cmd() Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/decl.h')
-rw-r--r--drivers/net/wireless/libertas/decl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/decl.h b/drivers/net/wireless/libertas/decl.h
index e8387c7ec02a..a086d0c6dfed 100644
--- a/drivers/net/wireless/libertas/decl.h
+++ b/drivers/net/wireless/libertas/decl.h
@@ -24,7 +24,8 @@ void lbs_send_tx_feedback(struct lbs_private *priv);
int lbs_free_cmd_buffer(struct lbs_private *priv);
int lbs_cmd(struct lbs_private *priv, uint16_t command, void *cmd, int cmd_size,
- int (*callback)(uint16_t, struct cmd_ds_command *, struct lbs_private *));
+ int (*callback)(struct lbs_private *, unsigned long, struct cmd_ds_command *),
+ unsigned long callback_arg);
int lbs_prepare_and_send_command(struct lbs_private *priv,
u16 cmd_no,