diff options
author | Dan Williams <dcbw@redhat.com> | 2009-05-22 20:05:25 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-06-03 14:05:09 -0400 |
commit | be0d76e48f6cc1f8b01eeb5efbeea41f2efdab49 (patch) | |
tree | 763838ac9d81a823e83e929dcbaf93ac4a69c6ee /drivers/net/wireless/libertas/cmd.c | |
parent | 75b6a61a47353fd404277ae3f2dda03af96a8c1a (diff) |
libertas: convert CMD_802_11_AUTHENTICATE to a direct command
And fix up setting authentication suite for v9+ firmware too.
Signed-off-by: Dan Williams <dcbw@redhat.com>
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 | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c index ed079c1a34e6..bd740fc00f94 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", |
@@ -1420,10 +1419,6 @@ int lbs_prepare_and_send_command(struct lbs_private *priv, | |||
1420 | ret = lbs_cmd_80211_associate(priv, cmdptr, pdata_buf); | 1419 | ret = lbs_cmd_80211_associate(priv, cmdptr, pdata_buf); |
1421 | break; | 1420 | break; |
1422 | 1421 | ||
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: | 1422 | case CMD_MAC_REG_ACCESS: |
1428 | case CMD_BBP_REG_ACCESS: | 1423 | case CMD_BBP_REG_ACCESS: |
1429 | case CMD_RF_REG_ACCESS: | 1424 | case CMD_RF_REG_ACCESS: |