aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/scan.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-05-10 11:34:46 (GMT)
committerJouni Malinen <j@w1.fi>2012-05-10 11:34:46 (GMT)
commit349493bd0c9e6355d2d00efb10d0b45d82745adb (patch)
tree48e71a970839d654765253ffa09266267dccf3b1 /wpa_supplicant/scan.h
parent157cdad59fafe56ab41a67fb13ac61e248025fdd (diff)
downloadhostap-349493bd0c9e6355d2d00efb10d0b45d82745adb.zip
hostap-349493bd0c9e6355d2d00efb10d0b45d82745adb.tar.gz
hostap-349493bd0c9e6355d2d00efb10d0b45d82745adb.tar.bz2
Validate WEP key lengths based on driver capabilities
The nl80211 driver interface does not allow 128-bit WEP to be used without a vendor specific cipher suite and no such suite is defined for this purpose. Do not accept WEP key length 16 for nl80211 driver interface forn ow. wext-interface can still try to use these for backwards compatibility. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/scan.h')
-rw-r--r--wpa_supplicant/scan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/scan.h b/wpa_supplicant/scan.h
index 8c83a42..b0ddf97 100644
--- a/wpa_supplicant/scan.h
+++ b/wpa_supplicant/scan.h
@@ -9,7 +9,7 @@
#ifndef SCAN_H
#define SCAN_H
-int wpa_supplicant_enabled_networks(struct wpa_config *conf);
+int wpa_supplicant_enabled_networks(struct wpa_supplicant *wpa_s);
void wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec);
int wpa_supplicant_delayed_sched_scan(struct wpa_supplicant *wpa_s,
int sec, int usec);