]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
WPS: Comment out WEP configuration lines on reconfig
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 4 Nov 2010 15:02:16 +0000 (17:02 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 4 Nov 2010 15:02:16 +0000 (17:02 +0200)
src/ap/wps_hostapd.c

index ba02757dfa25c7ea84b920776f4e8986a0d0de25..2f19647fa533199a6d01700c16eeec9602d6d559 100644 (file)
@@ -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=") ||