This commit is contained in:
Shawn A 2018-04-06 11:02:21 -05:00 committed by Me No Dev
parent 25dff4f044
commit f6a4b024c7

View File

@ -184,8 +184,9 @@ bool WiFiAPClass::softAPdisconnect(bool wifioff)
{
bool ret;
wifi_config_t conf;
*conf.ap.ssid = 0;
*conf.ap.ssid = 0;
*conf.ap.password = 0;
conf.ap.authmode = WIFI_AUTH_OPEN; // auth must be open if pass=0
ret = esp_wifi_set_config(WIFI_IF_AP, &conf) == ESP_OK;
if(wifioff) {