diff options
| -rw-r--r-- | drivers/net/wireless/ipw2200.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 02d2dae85c4c..30b13a6e6fd9 100644 --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c | |||
| @@ -7061,8 +7061,7 @@ static int ipw_associate_network(struct ipw_priv *priv, | |||
| 7061 | priv->assoc_request.auth_type = AUTH_SHARED_KEY; | 7061 | priv->assoc_request.auth_type = AUTH_SHARED_KEY; |
| 7062 | priv->assoc_request.auth_key = priv->ieee->sec.active_key; | 7062 | priv->assoc_request.auth_key = priv->ieee->sec.active_key; |
| 7063 | 7063 | ||
| 7064 | if ((priv->ieee->sec.level == SEC_LEVEL_1) && | 7064 | if (priv->ieee->sec.level == SEC_LEVEL_1) |
| 7065 | !(priv->ieee->host_encrypt || priv->ieee->host_decrypt)) | ||
| 7066 | ipw_send_wep_keys(priv, DCW_WEP_KEY_SEC_TYPE_WEP); | 7065 | ipw_send_wep_keys(priv, DCW_WEP_KEY_SEC_TYPE_WEP); |
| 7067 | 7066 | ||
| 7068 | } else if ((priv->capability & CAP_PRIVACY_ON) && | 7067 | } else if ((priv->capability & CAP_PRIVACY_ON) && |
