diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2009-10-22 15:30:53 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:48:38 -0400 |
commit | f57bd284e435d1ddf69b4266f63d856865152271 (patch) | |
tree | 739fcf82f39e5ecb1a93e07bc84de163a0728d0f /drivers/net/wireless/libertas/cmd.c | |
parent | 6e85e0b7ab1cafd6ff63c391d231b5a39934802e (diff) | |
download | kernel_samsung_smdk4412-f57bd284e435d1ddf69b4266f63d856865152271.zip kernel_samsung_smdk4412-f57bd284e435d1ddf69b4266f63d856865152271.tar.gz kernel_samsung_smdk4412-f57bd284e435d1ddf69b4266f63d856865152271.tar.bz2 |
libertas: remove handling for CMD_802_11_LED_GPIO_CTRL
... which just resided as an old-style command in cmd/cmdresp, but
was nowhere useed. If we ever need it, we can re-add it as a newstyle
command.
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
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 | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c index 7ddab10..5faa987 100644 --- a/drivers/net/wireless/libertas/cmd.c +++ b/drivers/net/wireless/libertas/cmd.c @@ -1180,29 +1180,6 @@ int lbs_prepare_and_send_command(struct lbs_private *priv, ret = 0; break; - case CMD_802_11_LED_GPIO_CTRL: - { - struct mrvl_ie_ledgpio *gpio = - (struct mrvl_ie_ledgpio*) - cmdptr->params.ledgpio.data; - - memmove(&cmdptr->params.ledgpio, - pdata_buf, - sizeof(struct cmd_ds_802_11_led_ctrl)); - - cmdptr->command = - cpu_to_le16(CMD_802_11_LED_GPIO_CTRL); - -#define ACTION_NUMLED_TLVTYPE_LEN_FIELDS_LEN 8 - cmdptr->size = - cpu_to_le16(le16_to_cpu(gpio->header.len) - + S_DS_GEN - + ACTION_NUMLED_TLVTYPE_LEN_FIELDS_LEN); - gpio->header.len = gpio->header.len; - - ret = 0; - break; - } case CMD_BT_ACCESS: ret = lbs_cmd_bt_access(cmdptr, cmd_action, pdata_buf); |