WPS: Comment out WEP configuration lines on reconfig

This commit is contained in:
Jouni Malinen 2010-11-04 17:02:16 +02:00 committed by Jouni Malinen
parent b029bd33c4
commit 8dcb61ce5d

View 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=") ||