@@ -441,7 +441,7 @@ void menuWiFi()
441
441
if (wifiRestartRequested)
442
442
{
443
443
// Fake the loss of the IP address
444
- networkInterfaceEventInternetLost (NETWORK_WIFI_STATION);
444
+ networkInterfaceEventInternetLost (NETWORK_WIFI_STATION, __FILE__, __LINE__ );
445
445
wifiReconnectRequest = true ;
446
446
}
447
447
@@ -845,7 +845,7 @@ void wifiStationRestart(NetIndex_t index, uintptr_t parameter, bool debug)
845
845
{
846
846
// Fake a WiFi failure
847
847
networkConsumerReconnect (NETWORK_WIFI_STATION);
848
- networkInterfaceEventInternetLost (NETWORK_WIFI_STATION);
848
+ networkInterfaceEventInternetLost (NETWORK_WIFI_STATION, __FILE__, __LINE__ );
849
849
850
850
// Clear the bits to perform the restart operation
851
851
wifi.clearStarted (WIFI_STA_RECONNECT);
@@ -880,7 +880,7 @@ void wifiStopAll()
880
880
wifi.enable (false , false , false , __FILE__, __LINE__);
881
881
882
882
// Take the network offline
883
- networkInterfaceEventInternetLost (NETWORK_WIFI_STATION);
883
+ networkInterfaceEventInternetLost (NETWORK_WIFI_STATION, __FILE__, __LINE__ );
884
884
885
885
// Display the heap state
886
886
reportHeapNow (settings.debugWifiState );
@@ -1780,7 +1780,7 @@ void RTK_WIFI::stationEventHandler(arduino_event_id_t event, arduino_event_info_
1780
1780
// Start the reconnection timer
1781
1781
if (event == ARDUINO_EVENT_WIFI_STA_DISCONNECTED)
1782
1782
{
1783
- networkInterfaceEventInternetLost (NETWORK_WIFI_STATION);
1783
+ networkInterfaceEventInternetLost (NETWORK_WIFI_STATION, __FILE__, __LINE__ );
1784
1784
wifiReconnectRequest = true ;
1785
1785
}
1786
1786
@@ -1805,7 +1805,7 @@ void RTK_WIFI::stationEventHandler(arduino_event_id_t event, arduino_event_info_
1805
1805
case ARDUINO_EVENT_WIFI_STA_LOST_IP:
1806
1806
if (event == ARDUINO_EVENT_WIFI_STA_LOST_IP)
1807
1807
{
1808
- networkInterfaceEventInternetLost (NETWORK_WIFI_STATION);
1808
+ networkInterfaceEventInternetLost (NETWORK_WIFI_STATION, __FILE__, __LINE__ );
1809
1809
wifiReconnectRequest = true ;
1810
1810
}
1811
1811
0 commit comments