1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00
wifi_softap_set_config always fails, password cannot be 0 unless authmode is open, no documentation found, trial and error.
This commit is contained in:
Shawn A 2017-11-17 12:20:40 -06:00 committed by Develo
parent d1e8fe99a2
commit 397592fce7

View File

@ -265,6 +265,7 @@ bool ESP8266WiFiAPClass::softAPdisconnect(bool wifioff) {
struct softap_config conf;
*conf.ssid = 0;
*conf.password = 0;
conf.authmode = AUTH_OPEN;
ETS_UART_INTR_DISABLE();
if(WiFi._persistent) {
ret = wifi_softap_set_config(&conf);