libertas: convert LED_GPIO_CTRL to a direct command
authorDan Williams <dcbw@redhat.com>
Tue, 27 Jul 2010 19:59:44 +0000 (12:59 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Jul 2010 19:08:20 +0000 (15:08 -0400)
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/host.h

index 7826f11cf60eaf47b655c67649007ff03c864057..d0402aa3f30aee3eba52906808e7c36a4adb2ccb 100644 (file)
@@ -879,6 +879,8 @@ struct cmd_ds_802_11_pa_cfg {
 
 
 struct cmd_ds_802_11_led_ctrl {
+       struct cmd_header hdr;
+
        __le16 action;
        __le16 numled;
        u8 data[256];
@@ -969,9 +971,6 @@ struct cmd_ds_command {
                struct cmd_ds_mac_reg_access macreg;
                struct cmd_ds_bbp_reg_access bbpreg;
                struct cmd_ds_rf_reg_access rfreg;
-
-               struct cmd_ds_802_11_led_ctrl ledgpio;
-
                struct cmd_ds_bt_access bt;
                struct cmd_ds_fwt_access fwt;
        } params;