diff options
author | John Crispin <john@openwrt.org> | 2008-11-30 16:53:16 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2008-11-30 16:53:16 +0000 |
commit | 10aa4d9e42a87b842af6eb855d4678d37937a656 (patch) | |
tree | 70fa882f0879b17c6e06226b3a896ce2cb4266a6 /package/libertas/src/cmd.h | |
parent | 4e61cbbf5e849c008b6c1fbab68219163f7b22b3 (diff) | |
download | mtk-20170518-10aa4d9e42a87b842af6eb855d4678d37937a656.zip mtk-20170518-10aa4d9e42a87b842af6eb855d4678d37937a656.tar.gz mtk-20170518-10aa4d9e42a87b842af6eb855d4678d37937a656.tar.bz2 |
update libertas driver
SVN-Revision: 13447
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 b9ab85c..3dfc2d4 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 */ |