diff --git a/source/lm/lm_main.c b/source/lm/lm_main.c index 6d1221d..4e7ec3f 100644 --- a/source/lm/lm_main.c +++ b/source/lm/lm_main.c @@ -651,6 +651,12 @@ static void LM_SET_ACTIVE_STATE_TIME_(int line, LmObjectHost *pHost,BOOL state){ CcspTraceWarning(("RDKB_CONNECTED_CLIENTS: Wifi client with %s MacAddress and %s HostName gone offline\n",pHost->pStringParaValue[LM_HOST_PhysAddressId],pHost->pStringParaValue[LM_HOST_HostNameId])); OnboardLog("RDKB_CONNECTED_CLIENTS: Wifi client with %s MacAddress and %s HostName gone offline\n",pHost->pStringParaValue[LM_HOST_PhysAddressId],pHost->pStringParaValue[LM_HOST_HostNameId]); t2_event_d("WIFI_INFO_clientdisconnect", 1); + CcspTraceWarning(("<%s> Debug trace for XB10-2559 \n",__FUNCTION__)); + CcspTraceWarning(("<%s> IPv4 Address removing from host table \n",__FUNCTION__)); + AnscFreeMemory(pHost->pStringParaValue[LM_HOST_IPAddressId]); + pHost->pStringParaValue[LM_HOST_IPAddressId] = NULL; + Host_FreeIPAddress(pHost, 4); + pHost->ipv4Active = FALSE; } #ifndef USE_NOTIFY_COMPONENT remove_Mac_to_band_mapping(pHost->pStringParaValue[LM_HOST_PhysAddressId]);