Skip to content

Commit

Permalink
wifi chache value changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuhammedrafi committed Aug 30, 2024
1 parent 1d06c6f commit ed58909
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion NetworkManagerRDKProxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ namespace WPEFramework
Exchange::INetworkManager::WiFiState state = errorcode_to_wifi_state(e->data.wifiError.code);
NMLOG_INFO("Event IARM_BUS_WIFI_MGR_EVENT_onError received; code=%d", e->data.wifiError.code);
::_instance->ReportWiFiStateChangedEvent(state);
WiFiStateCache.reset();
WiFiStateCache = state;
break;
}
default:
Expand Down Expand Up @@ -594,6 +594,7 @@ namespace WPEFramework
char c;

::_instance = this;
WiFiStateCache = Exchange::INetworkManager::WIFI_STATE_DISCONNECTED;

IARM_Result_t res = IARM_Bus_Init("netsrvmgr-thunder");
NMLOG_INFO("IARM_Bus_Init: %d", res);
Expand Down

0 comments on commit ed58909

Please sign in to comment.