Parcourir la source

WPS: Comment out WEP configuration lines on reconfig

Jouni Malinen il y a 14 ans
Parent
commit
8dcb61ce5d
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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 &&
 		    (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=") ||