summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/hostap/hostap_ap.c
diff options
context:
space:
mode:
authorJeff Garzik2005-08-26 02:59:10 +0200
committerJeff Garzik2005-08-26 02:59:10 +0200
commit831a179fc9387af6dbaa12816ae1e074d1f1a730 (patch)
treeefb3ea5fc390e7cefdaadb535dc166319ac6f69d /drivers/net/wireless/hostap/hostap_ap.c
parent/spare/repo/netdev-2.6 branch 'ieee80211' (diff)
downloadkernel-qcow2-linux-831a179fc9387af6dbaa12816ae1e074d1f1a730.tar.gz
kernel-qcow2-linux-831a179fc9387af6dbaa12816ae1e074d1f1a730.tar.xz
kernel-qcow2-linux-831a179fc9387af6dbaa12816ae1e074d1f1a730.zip
hostap: s/IEEE80211_FCTL_WEP/IEEE80211_FCTL_PROTECTED/ to fix build
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_ap.c')
-rw-r--r--drivers/net/wireless/hostap/hostap_ap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/hostap/hostap_ap.c b/drivers/net/wireless/hostap/hostap_ap.c
index 2c6ea796e00e..930cef8367f2 100644
--- a/drivers/net/wireless/hostap/hostap_ap.c
+++ b/drivers/net/wireless/hostap/hostap_ap.c
@@ -1436,7 +1436,7 @@ static void handle_authen(local_info_t *local, struct sk_buff *skb,
challenge == NULL ||
memcmp(sta->u.sta.challenge, challenge,
WLAN_AUTH_CHALLENGE_LEN) != 0 ||
- !(fc & IEEE80211_FCTL_WEP)) {
+ !(fc & IEEE80211_FCTL_PROTECTED)) {
txt = "challenge response incorrect";
resp = WLAN_STATUS_CHALLENGE_FAIL;
goto fail;