diff options
Diffstat (limited to 'drivers/net/wireless/ipw2100.c')
-rw-r--r-- | drivers/net/wireless/ipw2100.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/ipw2100.c b/drivers/net/wireless/ipw2100.c index 062c9f280304..2d2044d3d1c9 100644 --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c | |||
@@ -4010,7 +4010,7 @@ static ssize_t show_internals(struct device *d, struct device_attribute *attr, | |||
4010 | else | 4010 | else |
4011 | len += sprintf(buf + len, "not connected\n"); | 4011 | len += sprintf(buf + len, "not connected\n"); |
4012 | 4012 | ||
4013 | DUMP_VAR(ieee->crypt[priv->ieee->tx_keyidx], "p"); | 4013 | DUMP_VAR(ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx], "p"); |
4014 | DUMP_VAR(status, "08lx"); | 4014 | DUMP_VAR(status, "08lx"); |
4015 | DUMP_VAR(config, "08lx"); | 4015 | DUMP_VAR(config, "08lx"); |
4016 | DUMP_VAR(capability, "08lx"); | 4016 | DUMP_VAR(capability, "08lx"); |
@@ -5514,7 +5514,7 @@ static int ipw2100_configure_security(struct ipw2100_priv *priv, int batch_mode) | |||
5514 | } | 5514 | } |
5515 | } | 5515 | } |
5516 | 5516 | ||
5517 | ipw2100_set_key_index(priv, priv->ieee->tx_keyidx, 1); | 5517 | ipw2100_set_key_index(priv, priv->ieee->crypt_info.tx_keyidx, 1); |
5518 | } | 5518 | } |
5519 | 5519 | ||
5520 | /* Always enable privacy so the Host can filter WEP packets if | 5520 | /* Always enable privacy so the Host can filter WEP packets if |
@@ -7620,7 +7620,7 @@ static int ipw2100_wx_set_auth(struct net_device *dev, | |||
7620 | struct ipw2100_priv *priv = ieee80211_priv(dev); | 7620 | struct ipw2100_priv *priv = ieee80211_priv(dev); |
7621 | struct ieee80211_device *ieee = priv->ieee; | 7621 | struct ieee80211_device *ieee = priv->ieee; |
7622 | struct iw_param *param = &wrqu->param; | 7622 | struct iw_param *param = &wrqu->param; |
7623 | struct ieee80211_crypt_data *crypt; | 7623 | struct lib80211_crypt_data *crypt; |
7624 | unsigned long flags; | 7624 | unsigned long flags; |
7625 | int ret = 0; | 7625 | int ret = 0; |
7626 | 7626 | ||
@@ -7635,7 +7635,7 @@ static int ipw2100_wx_set_auth(struct net_device *dev, | |||
7635 | break; | 7635 | break; |
7636 | 7636 | ||
7637 | case IW_AUTH_TKIP_COUNTERMEASURES: | 7637 | case IW_AUTH_TKIP_COUNTERMEASURES: |
7638 | crypt = priv->ieee->crypt[priv->ieee->tx_keyidx]; | 7638 | crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; |
7639 | if (!crypt || !crypt->ops->set_flags || !crypt->ops->get_flags) | 7639 | if (!crypt || !crypt->ops->set_flags || !crypt->ops->get_flags) |
7640 | break; | 7640 | break; |
7641 | 7641 | ||
@@ -7712,7 +7712,7 @@ static int ipw2100_wx_get_auth(struct net_device *dev, | |||
7712 | { | 7712 | { |
7713 | struct ipw2100_priv *priv = ieee80211_priv(dev); | 7713 | struct ipw2100_priv *priv = ieee80211_priv(dev); |
7714 | struct ieee80211_device *ieee = priv->ieee; | 7714 | struct ieee80211_device *ieee = priv->ieee; |
7715 | struct ieee80211_crypt_data *crypt; | 7715 | struct lib80211_crypt_data *crypt; |
7716 | struct iw_param *param = &wrqu->param; | 7716 | struct iw_param *param = &wrqu->param; |
7717 | int ret = 0; | 7717 | int ret = 0; |
7718 | 7718 | ||
@@ -7728,7 +7728,7 @@ static int ipw2100_wx_get_auth(struct net_device *dev, | |||
7728 | break; | 7728 | break; |
7729 | 7729 | ||
7730 | case IW_AUTH_TKIP_COUNTERMEASURES: | 7730 | case IW_AUTH_TKIP_COUNTERMEASURES: |
7731 | crypt = priv->ieee->crypt[priv->ieee->tx_keyidx]; | 7731 | crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; |
7732 | if (!crypt || !crypt->ops->get_flags) { | 7732 | if (!crypt || !crypt->ops->get_flags) { |
7733 | IPW_DEBUG_WARNING("Can't get TKIP countermeasures: " | 7733 | IPW_DEBUG_WARNING("Can't get TKIP countermeasures: " |
7734 | "crypt not set!\n"); | 7734 | "crypt not set!\n"); |