aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-11-04 15:02:16 (GMT)
committerJouni Malinen <j@w1.fi>2010-11-04 15:02:16 (GMT)
commit8dcb61ce5de69bbad9896a9982e1f8ed95351d6a (patch)
tree21e08cd9a40b5c439de165096ed5e154123954a7
parentb029bd33c44a0db6c9670f3bbf87ba93dcb5abc6 (diff)
downloadhostap-8dcb61ce5de69bbad9896a9982e1f8ed95351d6a.zip
hostap-8dcb61ce5de69bbad9896a9982e1f8ed95351d6a.tar.gz
hostap-8dcb61ce5de69bbad9896a9982e1f8ed95351d6a.tar.bz2
WPS: Comment out WEP configuration lines on reconfig
-rw-r--r--src/ap/wps_hostapd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ap/wps_hostapd.c b/src/ap/wps_hostapd.c
index ba02757..2f19647 100644
--- a/src/ap/wps_hostapd.c
+++ b/src/ap/wps_hostapd.c
@@ -426,6 +426,8 @@ static int hapd_wps_cred_cb(struct hostapd_data *hapd, void *ctx)
if (!multi_bss &&
(str_starts(buf, "ssid=") ||
str_starts(buf, "auth_algs=") ||
+ str_starts(buf, "wep_default_key=") ||
+ str_starts(buf, "wep_key") ||
str_starts(buf, "wps_state=") ||
str_starts(buf, "wpa=") ||
str_starts(buf, "wpa_psk=") ||