diff options
author | Dan Williams <dcbw@redhat.com> | 2010-07-27 15:54:34 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-27 15:03:29 -0400 |
commit | a45b6f4f9ef7fde2321da5aaa7db0e1e793a5b1e (patch) | |
tree | d38142f7db7ad6b63f37ca902ff40f70bc439969 /drivers/net/wireless/libertas/host.h | |
parent | 98ec62185cd940765a096c88a3f14147dd1d3bd4 (diff) |
libertas: clean up MONITOR_MODE command
Convert to a full direct command; previous code rolled a direct
command by handle but left the original indirect command code
lying around.
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.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/host.h b/drivers/net/wireless/libertas/host.h index 43d020cd7403..dd67334765ef 100644 --- a/drivers/net/wireless/libertas/host.h +++ b/drivers/net/wireless/libertas/host.h | |||
@@ -675,7 +675,10 @@ struct cmd_ds_802_11_rf_tx_power { | |||
675 | s8 minlevel; | 675 | s8 minlevel; |
676 | } __packed; | 676 | } __packed; |
677 | 677 | ||
678 | /* MONITOR_MODE only exists in OLPC v5 firmware */ | ||
678 | struct cmd_ds_802_11_monitor_mode { | 679 | struct cmd_ds_802_11_monitor_mode { |
680 | struct cmd_header hdr; | ||
681 | |||
679 | __le16 action; | 682 | __le16 action; |
680 | __le16 mode; | 683 | __le16 mode; |
681 | } __packed; | 684 | } __packed; |
@@ -966,7 +969,6 @@ struct cmd_ds_command { | |||
966 | /* command Body */ | 969 | /* command Body */ |
967 | union { | 970 | union { |
968 | struct cmd_ds_802_11_ps_mode psmode; | 971 | struct cmd_ds_802_11_ps_mode psmode; |
969 | struct cmd_ds_802_11_monitor_mode monitor; | ||
970 | struct cmd_ds_802_11_rssi rssi; | 972 | struct cmd_ds_802_11_rssi rssi; |
971 | struct cmd_ds_802_11_rssi_rsp rssirsp; | 973 | struct cmd_ds_802_11_rssi_rsp rssirsp; |
972 | struct cmd_ds_mac_reg_access macreg; | 974 | struct cmd_ds_mac_reg_access macreg; |