diff options
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_ap.c')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_ap.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/net/wireless/hostap/hostap_ap.c b/drivers/net/wireless/hostap/hostap_ap.c index f59912a0fb4c..6e109dfb43e7 100644 --- a/drivers/net/wireless/hostap/hostap_ap.c +++ b/drivers/net/wireless/hostap/hostap_ap.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * Intersil Prism2 driver with Host AP (software access point) support | 2 | * Intersil Prism2 driver with Host AP (software access point) support |
3 | * Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen | 3 | * Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen |
4 | * <jkmaline@cc.hut.fi> | 4 | * <jkmaline@cc.hut.fi> |
5 | * Copyright (c) 2002-2003, Jouni Malinen <jkmaline@cc.hut.fi> | 5 | * Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.fi> |
6 | * | 6 | * |
7 | * This file is to be included into hostap.c when S/W AP functionality is | 7 | * This file is to be included into hostap.c when S/W AP functionality is |
8 | * compiled. | 8 | * compiled. |
@@ -1206,7 +1206,7 @@ static void prism2_check_tx_rates(struct sta_info *sta) | |||
1206 | 1206 | ||
1207 | static void ap_crypt_init(struct ap_data *ap) | 1207 | static void ap_crypt_init(struct ap_data *ap) |
1208 | { | 1208 | { |
1209 | ap->crypt = hostap_get_crypto_ops("WEP"); | 1209 | ap->crypt = ieee80211_get_crypto_ops("WEP"); |
1210 | 1210 | ||
1211 | if (ap->crypt) { | 1211 | if (ap->crypt) { |
1212 | if (ap->crypt->init) { | 1212 | if (ap->crypt->init) { |
@@ -1224,7 +1224,7 @@ static void ap_crypt_init(struct ap_data *ap) | |||
1224 | 1224 | ||
1225 | if (ap->crypt == NULL) { | 1225 | if (ap->crypt == NULL) { |
1226 | printk(KERN_WARNING "AP could not initialize WEP: load module " | 1226 | printk(KERN_WARNING "AP could not initialize WEP: load module " |
1227 | "hostap_crypt_wep.o\n"); | 1227 | "ieee80211_crypt_wep.ko\n"); |
1228 | } | 1228 | } |
1229 | } | 1229 | } |
1230 | 1230 | ||
@@ -1293,7 +1293,7 @@ static void handle_authen(local_info_t *local, struct sk_buff *skb, | |||
1293 | u16 auth_alg, auth_transaction, status_code, *pos; | 1293 | u16 auth_alg, auth_transaction, status_code, *pos; |
1294 | u16 resp = WLAN_STATUS_SUCCESS, fc; | 1294 | u16 resp = WLAN_STATUS_SUCCESS, fc; |
1295 | struct sta_info *sta = NULL; | 1295 | struct sta_info *sta = NULL; |
1296 | struct prism2_crypt_data *crypt; | 1296 | struct ieee80211_crypt_data *crypt; |
1297 | char *txt = ""; | 1297 | char *txt = ""; |
1298 | 1298 | ||
1299 | len = skb->len - IEEE80211_MGMT_HDR_LEN; | 1299 | len = skb->len - IEEE80211_MGMT_HDR_LEN; |
@@ -3058,7 +3058,8 @@ ap_rx_ret hostap_handle_sta_rx(local_info_t *local, struct net_device *dev, | |||
3058 | /* Called only as a tasklet (software IRQ) */ | 3058 | /* Called only as a tasklet (software IRQ) */ |
3059 | int hostap_handle_sta_crypto(local_info_t *local, | 3059 | int hostap_handle_sta_crypto(local_info_t *local, |
3060 | struct hostap_ieee80211_hdr *hdr, | 3060 | struct hostap_ieee80211_hdr *hdr, |
3061 | struct prism2_crypt_data **crypt, void **sta_ptr) | 3061 | struct ieee80211_crypt_data **crypt, |
3062 | void **sta_ptr) | ||
3062 | { | 3063 | { |
3063 | struct sta_info *sta; | 3064 | struct sta_info *sta; |
3064 | 3065 | ||
@@ -3206,7 +3207,7 @@ void hostap_update_rates(local_info_t *local) | |||
3206 | 3207 | ||
3207 | 3208 | ||
3208 | static void * ap_crypt_get_ptrs(struct ap_data *ap, u8 *addr, int permanent, | 3209 | static void * ap_crypt_get_ptrs(struct ap_data *ap, u8 *addr, int permanent, |
3209 | struct prism2_crypt_data ***crypt) | 3210 | struct ieee80211_crypt_data ***crypt) |
3210 | { | 3211 | { |
3211 | struct sta_info *sta; | 3212 | struct sta_info *sta; |
3212 | 3213 | ||