diff options
Diffstat (limited to 'drivers/net/wireless/libertas/cmd.h')
-rw-r--r-- | drivers/net/wireless/libertas/cmd.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/net/wireless/libertas/cmd.h b/drivers/net/wireless/libertas/cmd.h index b9ab85cc7913..3dfc2d43c224 100644 --- a/drivers/net/wireless/libertas/cmd.h +++ b/drivers/net/wireless/libertas/cmd.h | |||
@@ -18,12 +18,9 @@ | |||
18 | #define lbs_cmd_with_response(priv, cmdnr, cmd) \ | 18 | #define lbs_cmd_with_response(priv, cmdnr, cmd) \ |
19 | lbs_cmd(priv, cmdnr, cmd, lbs_cmd_copyback, (unsigned long) (cmd)) | 19 | lbs_cmd(priv, cmdnr, cmd, lbs_cmd_copyback, (unsigned long) (cmd)) |
20 | 20 | ||
21 | /* __lbs_cmd() will free the cmdnode and return success/failure. | 21 | void lbs_cmd_async(struct lbs_private *priv, uint16_t command, |
22 | __lbs_cmd_async() requires that the callback free the cmdnode */ | 22 | struct cmd_header *in_cmd, int in_cmd_size); |
23 | struct cmd_ctrl_node *__lbs_cmd_async(struct lbs_private *priv, uint16_t command, | 23 | |
24 | struct cmd_header *in_cmd, int in_cmd_size, | ||
25 | int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *), | ||
26 | unsigned long callback_arg); | ||
27 | int __lbs_cmd(struct lbs_private *priv, uint16_t command, | 24 | int __lbs_cmd(struct lbs_private *priv, uint16_t command, |
28 | struct cmd_header *in_cmd, int in_cmd_size, | 25 | struct cmd_header *in_cmd, int in_cmd_size, |
29 | int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *), | 26 | 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, | |||
57 | struct assoc_request *assoc); | 54 | struct assoc_request *assoc); |
58 | int lbs_cmd_802_11_enable_rsn(struct lbs_private *priv, uint16_t cmd_action, | 55 | int lbs_cmd_802_11_enable_rsn(struct lbs_private *priv, uint16_t cmd_action, |
59 | uint16_t *enable); | 56 | uint16_t *enable); |
57 | int lbs_cmd_802_11_key_material(struct lbs_private *priv, uint16_t cmd_action, | ||
58 | struct assoc_request *assoc); | ||
60 | 59 | ||
61 | #endif /* _LBS_CMD_H */ | 60 | #endif /* _LBS_CMD_H */ |