Browse Source

WPS: Comment out WEP configuration lines on reconfig

Jouni Malinen 14 years ago
parent
commit
8dcb61ce5d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/ap/wps_hostapd.c

+ 2 - 0
src/ap/wps_hostapd.c

@@ -426,6 +426,8 @@ static int hapd_wps_cred_cb(struct hostapd_data *hapd, void *ctx)
 		if (!multi_bss &&
 		if (!multi_bss &&
 		    (str_starts(buf, "ssid=") ||
 		    (str_starts(buf, "ssid=") ||
 		     str_starts(buf, "auth_algs=") ||
 		     str_starts(buf, "auth_algs=") ||
+		     str_starts(buf, "wep_default_key=") ||
+		     str_starts(buf, "wep_key") ||
 		     str_starts(buf, "wps_state=") ||
 		     str_starts(buf, "wps_state=") ||
 		     str_starts(buf, "wpa=") ||
 		     str_starts(buf, "wpa=") ||
 		     str_starts(buf, "wpa_psk=") ||
 		     str_starts(buf, "wpa_psk=") ||