Skip to content

Commit 28db333

Browse files
committed
WiFiAP: fix interface mismatch
1 parent 99504de commit 28db333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: libraries/SocketWrapper/WiFi.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class WiFiClass: public NetworkInterface
6868
enable_dhcpv4_server(ap_iface);
6969

7070
if (blocking) {
71-
net_mgmt_event_wait_on_iface(sta_iface, NET_EVENT_WIFI_AP_ENABLE_RESULT, NULL, NULL, NULL, K_FOREVER);
71+
net_mgmt_event_wait_on_iface(ap_iface, NET_EVENT_WIFI_AP_ENABLE_RESULT, NULL, NULL, NULL, K_FOREVER);
7272
}
7373

7474
return true;

0 commit comments

Comments
 (0)