diff options
author | Dan Williams <dcbw@redhat.com> | 2010-07-27 16:03:46 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-27 15:11:38 -0400 |
commit | a6bb1bcebced1eeed6a96f37cda7cbb7cbd6dae6 (patch) | |
tree | 99dc476a4a6c4c6125f9e18366127a516534b926 /drivers/net/wireless/libertas/cmd.c | |
parent | 52148655608b31b7e18325ae7711de3a86466136 (diff) |
libertas: convert CMD_FWT_ACCESS to a direct command
Slightly different approach here since there are so many arguments to
the firmware command. Just let the caller fill them in before pushing
the command to the firmware.
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/cmd.c')
-rw-r--r-- | drivers/net/wireless/libertas/cmd.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c index dd25b2a9dbeb..2c96cf3400c9 100644 --- a/drivers/net/wireless/libertas/cmd.c +++ b/drivers/net/wireless/libertas/cmd.c | |||
@@ -1206,14 +1206,6 @@ int lbs_prepare_and_send_command(struct lbs_private *priv, | |||
1206 | ret = lbs_cmd_802_11_ps_mode(cmdptr, cmd_action); | 1206 | ret = lbs_cmd_802_11_ps_mode(cmdptr, cmd_action); |
1207 | break; | 1207 | break; |
1208 | 1208 | ||
1209 | #ifdef CONFIG_LIBERTAS_MESH | ||
1210 | |||
1211 | case CMD_FWT_ACCESS: | ||
1212 | ret = lbs_cmd_fwt_access(cmdptr, cmd_action, pdata_buf); | ||
1213 | break; | ||
1214 | |||
1215 | #endif | ||
1216 | |||
1217 | case CMD_802_11_DEEP_SLEEP: | 1209 | case CMD_802_11_DEEP_SLEEP: |
1218 | cmdptr->command = cpu_to_le16(CMD_802_11_DEEP_SLEEP); | 1210 | cmdptr->command = cpu_to_le16(CMD_802_11_DEEP_SLEEP); |
1219 | cmdptr->size = cpu_to_le16(sizeof(struct cmd_header)); | 1211 | cmdptr->size = cpu_to_le16(sizeof(struct cmd_header)); |