aboutsummaryrefslogtreecommitdiff
path: root/libraries/WiFi/WiFiServer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/WiFi/WiFiServer.cpp')
-rw-r--r--libraries/WiFi/WiFiServer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libraries/WiFi/WiFiServer.cpp b/libraries/WiFi/WiFiServer.cpp
index 77dbac0..2f03bc1 100644
--- a/libraries/WiFi/WiFiServer.cpp
+++ b/libraries/WiFi/WiFiServer.cpp
@@ -21,6 +21,7 @@ void WiFiServer::begin()
{
ServerDrv::startServer(_port, _sock);
WiFiClass::_server_port[_sock] = _port;
+ WiFiClass::_state[_sock] = _sock;
}
}