mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-05-04 15:16:44 +00:00
Removed handshake timeout as reason for AP mode
This commit is contained in:
@@ -186,7 +186,6 @@ void WiFiEvent(WiFiEvent_t event, WiFiEventInfo_t info) {
|
|||||||
wifi_err_reason_t reason = (wifi_err_reason_t) info.wifi_sta_disconnected.reason;
|
wifi_err_reason_t reason = (wifi_err_reason_t) info.wifi_sta_disconnected.reason;
|
||||||
debugI_P(PSTR("WiFi disconnected, reason %s"), WiFi.disconnectReasonName(reason));
|
debugI_P(PSTR("WiFi disconnected, reason %s"), WiFi.disconnectReasonName(reason));
|
||||||
switch(reason) {
|
switch(reason) {
|
||||||
case WIFI_REASON_4WAY_HANDSHAKE_TIMEOUT:
|
|
||||||
case WIFI_REASON_AUTH_FAIL:
|
case WIFI_REASON_AUTH_FAIL:
|
||||||
case WIFI_REASON_NO_AP_FOUND:
|
case WIFI_REASON_NO_AP_FOUND:
|
||||||
SystemConfig sys;
|
SystemConfig sys;
|
||||||
|
|||||||
Reference in New Issue
Block a user