8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b49dcb commit d025a70Copy full SHA for d025a70
libraries/WiFi/src/WiFi.cpp
@@ -109,13 +109,14 @@ void arduino::WiFiClass::end() {
109
}
110
111
int arduino::WiFiClass::disconnect() {
112
+ _currentNetworkStatus = WL_DISCONNECTED;
113
+
114
if (_softAP != nullptr) {
113 65AB code>
115
static_cast<WhdSoftAPInterface*>(_softAP)->unregister_event_handler();
116
return static_cast<WhdSoftAPInterface*>(_softAP)->stop();
117
} else {
118
return wifi_if->disconnect();
119
- _currentNetworkStatus = WL_IDLE_STATUS;
120
121
122
void arduino::WiFiClass::config(arduino::IPAddress local_ip){
0 commit comments