aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/cmd.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2007-12-15 03:09:33 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:07:36 -0500
commit3399ea5f239d49522212db179bca4de9e84b09df (patch)
tree8a56d5a18319b4e74afc22346821296c9d21c8ce /drivers/net/wireless/libertas/cmd.h
parentae125bf8278249b8c44168c5183f551c3ed28b84 (diff)
libertas: add __lbs_cmd_async() for asynchronous command submission
Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/cmd.h')
-rw-r--r--drivers/net/wireless/libertas/cmd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/cmd.h b/drivers/net/wireless/libertas/cmd.h
index 999fabe5964b..2f4c1ec50392 100644
--- a/drivers/net/wireless/libertas/cmd.h
+++ b/drivers/net/wireless/libertas/cmd.h
@@ -12,6 +12,12 @@
12#define lbs_cmd_with_response(priv, cmdnr, cmd) \ 12#define lbs_cmd_with_response(priv, cmdnr, cmd) \
13 lbs_cmd(priv, cmdnr, cmd, lbs_cmd_copyback, (unsigned long) (cmd)) 13 lbs_cmd(priv, cmdnr, cmd, lbs_cmd_copyback, (unsigned long) (cmd))
14 14
15/* __lbs_cmd() will free the cmdnode and return success/failure.
16 __lbs_cmd_async() requires that the callback free the cmdnode */
17struct cmd_ctrl_node *__lbs_cmd_async(struct lbs_private *priv, uint16_t command,
18 struct cmd_header *in_cmd, int in_cmd_size,
19 int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *),
20 unsigned long callback_arg);
15int __lbs_cmd(struct lbs_private *priv, uint16_t command, 21int __lbs_cmd(struct lbs_private *priv, uint16_t command,
16 struct cmd_header *in_cmd, int in_cmd_size, 22 struct cmd_header *in_cmd, int in_cmd_size,
17 int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *), 23 int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *),