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 63a748f commit 814d936Copy full SHA for 814d936
libraries/SocketWrapper/WiFi.h
@@ -79,9 +79,11 @@ class WiFiClass : public NetworkInterface {
79
return true;
80
}
81
82
- int status() {
+ int status() {
83
+ sta_iface = net_if_get_wifi_sta();
84
+ netif = sta_iface;
85
if (net_mgmt(NET_REQUEST_WIFI_IFACE_STATUS, netif, &sta_state,
- sizeof(struct wifi_iface_status))) {
86
+ sizeof(struct wifi_iface_status))) {
87
return WL_NO_SHIELD;
88
89
0 commit comments