diff options
Diffstat (limited to 'drivers/net/wireless/libertas/cmd.c')
-rw-r--r-- | drivers/net/wireless/libertas/cmd.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c index c455b9abbfc0..01db705a38ec 100644 --- a/drivers/net/wireless/libertas/cmd.c +++ b/drivers/net/wireless/libertas/cmd.c | |||
@@ -1220,8 +1220,7 @@ static void lbs_submit_command(struct lbs_private *priv, | |||
1220 | command = le16_to_cpu(cmd->command); | 1220 | command = le16_to_cpu(cmd->command); |
1221 | 1221 | ||
1222 | /* These commands take longer */ | 1222 | /* These commands take longer */ |
1223 | if (command == CMD_802_11_SCAN || command == CMD_802_11_ASSOCIATE || | 1223 | if (command == CMD_802_11_SCAN || command == CMD_802_11_ASSOCIATE) |
1224 | command == CMD_802_11_AUTHENTICATE) | ||
1225 | timeo = 5 * HZ; | 1224 | timeo = 5 * HZ; |
1226 | 1225 | ||
1227 | lbs_deb_cmd("DNLD_CMD: command 0x%04x, seq %d, size %d\n", | 1226 | lbs_deb_cmd("DNLD_CMD: command 0x%04x, seq %d, size %d\n", |
@@ -1415,15 +1414,6 @@ int lbs_prepare_and_send_command(struct lbs_private *priv, | |||
1415 | ret = lbs_cmd_802_11_ps_mode(cmdptr, cmd_action); | 1414 | ret = lbs_cmd_802_11_ps_mode(cmdptr, cmd_action); |
1416 | break; | 1415 | break; |
1417 | 1416 | ||
1418 | case CMD_802_11_ASSOCIATE: | ||
1419 | case CMD_802_11_REASSOCIATE: | ||
1420 | ret = lbs_cmd_80211_associate(priv, cmdptr, pdata_buf); | ||
1421 | break; | ||
1422 | |||
1423 | case CMD_802_11_AUTHENTICATE: | ||
1424 | ret = lbs_cmd_80211_authenticate(priv, cmdptr, pdata_buf); | ||
1425 | break; | ||
1426 | |||
1427 | case CMD_MAC_REG_ACCESS: | 1417 | case CMD_MAC_REG_ACCESS: |
1428 | case CMD_BBP_REG_ACCESS: | 1418 | case CMD_BBP_REG_ACCESS: |
1429 | case CMD_RF_REG_ACCESS: | 1419 | case CMD_RF_REG_ACCESS: |
@@ -1470,8 +1460,8 @@ int lbs_prepare_and_send_command(struct lbs_private *priv, | |||
1470 | break; | 1460 | break; |
1471 | case CMD_802_11_LED_GPIO_CTRL: | 1461 | case CMD_802_11_LED_GPIO_CTRL: |
1472 | { | 1462 | { |
1473 | struct mrvlietypes_ledgpio *gpio = | 1463 | struct mrvl_ie_ledgpio *gpio = |
1474 | (struct mrvlietypes_ledgpio*) | 1464 | (struct mrvl_ie_ledgpio*) |
1475 | cmdptr->params.ledgpio.data; | 1465 | cmdptr->params.ledgpio.data; |
1476 | 1466 | ||
1477 | memmove(&cmdptr->params.ledgpio, | 1467 | memmove(&cmdptr->params.ledgpio, |