diff options
Diffstat (limited to 'drivers/net/wireless/ipw2200.c')
-rw-r--r-- | drivers/net/wireless/ipw2200.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 6ca0f1c05048..d2a2b7586d08 100644 --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c | |||
@@ -6600,7 +6600,7 @@ static int ipw_wx_set_auth(struct net_device *dev, | |||
6600 | struct ipw_priv *priv = ieee80211_priv(dev); | 6600 | struct ipw_priv *priv = ieee80211_priv(dev); |
6601 | struct ieee80211_device *ieee = priv->ieee; | 6601 | struct ieee80211_device *ieee = priv->ieee; |
6602 | struct iw_param *param = &wrqu->param; | 6602 | struct iw_param *param = &wrqu->param; |
6603 | struct ieee80211_crypt_data *crypt; | 6603 | struct lib80211_crypt_data *crypt; |
6604 | unsigned long flags; | 6604 | unsigned long flags; |
6605 | int ret = 0; | 6605 | int ret = 0; |
6606 | 6606 | ||
@@ -6622,7 +6622,7 @@ static int ipw_wx_set_auth(struct net_device *dev, | |||
6622 | break; | 6622 | break; |
6623 | 6623 | ||
6624 | case IW_AUTH_TKIP_COUNTERMEASURES: | 6624 | case IW_AUTH_TKIP_COUNTERMEASURES: |
6625 | crypt = priv->ieee->crypt[priv->ieee->tx_keyidx]; | 6625 | crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; |
6626 | if (!crypt || !crypt->ops->set_flags || !crypt->ops->get_flags) | 6626 | if (!crypt || !crypt->ops->set_flags || !crypt->ops->get_flags) |
6627 | break; | 6627 | break; |
6628 | 6628 | ||
@@ -6699,7 +6699,7 @@ static int ipw_wx_get_auth(struct net_device *dev, | |||
6699 | { | 6699 | { |
6700 | struct ipw_priv *priv = ieee80211_priv(dev); | 6700 | struct ipw_priv *priv = ieee80211_priv(dev); |
6701 | struct ieee80211_device *ieee = priv->ieee; | 6701 | struct ieee80211_device *ieee = priv->ieee; |
6702 | struct ieee80211_crypt_data *crypt; | 6702 | struct lib80211_crypt_data *crypt; |
6703 | struct iw_param *param = &wrqu->param; | 6703 | struct iw_param *param = &wrqu->param; |
6704 | int ret = 0; | 6704 | int ret = 0; |
6705 | 6705 | ||
@@ -6715,7 +6715,7 @@ static int ipw_wx_get_auth(struct net_device *dev, | |||
6715 | break; | 6715 | break; |
6716 | 6716 | ||
6717 | case IW_AUTH_TKIP_COUNTERMEASURES: | 6717 | case IW_AUTH_TKIP_COUNTERMEASURES: |
6718 | crypt = priv->ieee->crypt[priv->ieee->tx_keyidx]; | 6718 | crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; |
6719 | if (!crypt || !crypt->ops->get_flags) | 6719 | if (!crypt || !crypt->ops->get_flags) |
6720 | break; | 6720 | break; |
6721 | 6721 | ||
@@ -10251,8 +10251,8 @@ static int ipw_tx_skb(struct ipw_priv *priv, struct ieee80211_txb *txb, | |||
10251 | case SEC_LEVEL_1: | 10251 | case SEC_LEVEL_1: |
10252 | tfd->u.data.tfd.tfd_24.mchdr.frame_ctl |= | 10252 | tfd->u.data.tfd.tfd_24.mchdr.frame_ctl |= |
10253 | cpu_to_le16(IEEE80211_FCTL_PROTECTED); | 10253 | cpu_to_le16(IEEE80211_FCTL_PROTECTED); |
10254 | tfd->u.data.key_index = priv->ieee->tx_keyidx; | 10254 | tfd->u.data.key_index = priv->ieee->crypt_info.tx_keyidx; |
10255 | if (priv->ieee->sec.key_sizes[priv->ieee->tx_keyidx] <= | 10255 | if (priv->ieee->sec.key_sizes[priv->ieee->crypt_info.tx_keyidx] <= |
10256 | 40) | 10256 | 40) |
10257 | tfd->u.data.key_index |= DCT_WEP_KEY_64Bit; | 10257 | tfd->u.data.key_index |= DCT_WEP_KEY_64Bit; |
10258 | else | 10258 | else |