aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/libertas/cmd.c')
-rw-r--r--drivers/net/wireless/libertas/cmd.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c
index 59801f103e66..44b918a6c219 100644
--- a/drivers/net/wireless/libertas/cmd.c
+++ b/drivers/net/wireless/libertas/cmd.c
@@ -1186,8 +1186,8 @@ static void lbs_submit_command(struct lbs_private *priv,
1186 command == CMD_802_11_AUTHENTICATE) 1186 command == CMD_802_11_AUTHENTICATE)
1187 timeo = 10 * HZ; 1187 timeo = 10 * HZ;
1188 1188
1189 lbs_deb_cmd("DNLD_CMD: command 0x%04x, seq %d, size %d, jiffies %lu\n", 1189 lbs_deb_cmd("DNLD_CMD: command 0x%04x, seq %d, size %d\n",
1190 command, le16_to_cpu(cmd->seqnum), cmdsize, jiffies); 1190 command, le16_to_cpu(cmd->seqnum), cmdsize);
1191 lbs_deb_hex(LBS_DEB_CMD, "DNLD_CMD", (void *) cmdnode->cmdbuf, cmdsize); 1191 lbs_deb_hex(LBS_DEB_CMD, "DNLD_CMD", (void *) cmdnode->cmdbuf, cmdsize);
1192 1192
1193 ret = priv->hw_host_to_card(priv, MVMS_CMD, (u8 *) cmd, cmdsize); 1193 ret = priv->hw_host_to_card(priv, MVMS_CMD, (u8 *) cmd, cmdsize);
@@ -1496,16 +1496,6 @@ int lbs_prepare_and_send_command(struct lbs_private *priv,
1496 break; 1496 break;
1497 } 1497 }
1498 1498
1499 case CMD_802_11_PWR_CFG:
1500 cmdptr->command = cpu_to_le16(CMD_802_11_PWR_CFG);
1501 cmdptr->size =
1502 cpu_to_le16(sizeof(struct cmd_ds_802_11_pwr_cfg) +
1503 S_DS_GEN);
1504 memmove(&cmdptr->params.pwrcfg, pdata_buf,
1505 sizeof(struct cmd_ds_802_11_pwr_cfg));
1506
1507 ret = 0;
1508 break;
1509 case CMD_BT_ACCESS: 1499 case CMD_BT_ACCESS:
1510 ret = lbs_cmd_bt_access(cmdptr, cmd_action, pdata_buf); 1500 ret = lbs_cmd_bt_access(cmdptr, cmd_action, pdata_buf);
1511 break; 1501 break;