diff options
author | John Crispin <blogic@openwrt.org> | 2008-11-30 16:53:16 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2008-11-30 16:53:16 +0000 |
commit | 5350ce25de0bab3ed09c5ee2ed6feed4a311a105 (patch) | |
tree | 2e0a220a54db9e073044a32285a6f170cd67869d /package/libertas/src/cmd.h | |
parent | 4a52e64bb85b03b4b9902ebdda2cb39f7132eebd (diff) | |
download | upstream-5350ce25de0bab3ed09c5ee2ed6feed4a311a105.tar.gz upstream-5350ce25de0bab3ed09c5ee2ed6feed4a311a105.tar.bz2 upstream-5350ce25de0bab3ed09c5ee2ed6feed4a311a105.zip |
update libertas driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13447 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libertas/src/cmd.h')
-rw-r--r-- | package/libertas/src/cmd.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/package/libertas/src/cmd.h b/package/libertas/src/cmd.h index b9ab85cc79..3dfc2d43c2 100644 --- a/package/libertas/src/cmd.h +++ b/package/libertas/src/cmd.h @@ -18,12 +18,9 @@ #define lbs_cmd_with_response(priv, cmdnr, cmd) \ lbs_cmd(priv, cmdnr, cmd, lbs_cmd_copyback, (unsigned long) (cmd)) -/* __lbs_cmd() will free the cmdnode and return success/failure. - __lbs_cmd_async() requires that the callback free the cmdnode */ -struct cmd_ctrl_node *__lbs_cmd_async(struct lbs_private *priv, uint16_t command, - struct cmd_header *in_cmd, int in_cmd_size, - int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *), - unsigned long callback_arg); +void lbs_cmd_async(struct lbs_private *priv, uint16_t command, + struct cmd_header *in_cmd, int in_cmd_size); + int __lbs_cmd(struct lbs_private *priv, uint16_t command, struct cmd_header *in_cmd, int in_cmd_size, int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *), @@ -57,5 +54,7 @@ int lbs_cmd_802_11_set_wep(struct lbs_private *priv, uint16_t cmd_action, struct assoc_request *assoc); int lbs_cmd_802_11_enable_rsn(struct lbs_private *priv, uint16_t cmd_action, uint16_t *enable); +int lbs_cmd_802_11_key_material(struct lbs_private *priv, uint16_t cmd_action, + struct assoc_request *assoc); #endif /* _LBS_CMD_H */ |