summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/host.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-07-27 13:03:46 -0700
committerJohn W. Linville <linville@tuxdriver.com>2010-07-27 15:11:38 -0400
commita6bb1bcebced1eeed6a96f37cda7cbb7cbd6dae6 (patch)
tree99dc476a4a6c4c6125f9e18366127a516534b926 /drivers/net/wireless/libertas/host.h
parent52148655608b31b7e18325ae7711de3a86466136 (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/host.h')
-rw-r--r--drivers/net/wireless/libertas/host.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/host.h b/drivers/net/wireless/libertas/host.h
index e8171777846..03d2ae9bdd7 100644
--- a/drivers/net/wireless/libertas/host.h
+++ b/drivers/net/wireless/libertas/host.h
@@ -912,6 +912,8 @@ struct cmd_ds_bt_access {
} __packed;
struct cmd_ds_fwt_access {
+ struct cmd_header hdr;
+
__le16 action;
__le32 id;
u8 valid;
@@ -961,7 +963,6 @@ struct cmd_ds_command {
/* command Body */
union {
struct cmd_ds_802_11_ps_mode psmode;
- struct cmd_ds_fwt_access fwt;
} params;
} __packed;
#endif