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 2b7243d commit 6452f1eCopy full SHA for 6452f1e
libraries/SocketWrapper/WiFi.h
@@ -37,7 +37,7 @@ class WiFiClass: public NetworkInterface
37
38
NetworkInterface::begin(false, NET_EVENT_WIFI_MASK);
39
if (blocking) {
40
- net_mgmt_event_wait_on_iface(sta_iface, NET_EVENT_WIFI_AP_STA_CONNECTED, NULL, NULL, NULL, K_FOREVER);
+ net_mgmt_event_wait_on_iface(sta_iface, NET_EVENT_WIFI_CONNECT_RESULT, NULL, NULL, NULL, K_FOREVER);
41
}
42
43
return true;
0 commit comments