Merge "IPACM: fix the issue of missing first new neighbor message"
diff --git a/ipacm/src/IPACM_Lan.cpp b/ipacm/src/IPACM_Lan.cpp
index e09ea10..f0b85c4 100644
--- a/ipacm/src/IPACM_Lan.cpp
+++ b/ipacm/src/IPACM_Lan.cpp
@@ -2858,6 +2858,12 @@
/*handle lan2lan client active*/
int IPACM_Lan::handle_lan2lan_client_active(ipacm_event_data_all *data, ipa_cm_event_id event)
{
+ if((tx_prop == NULL) || (rx_prop == NULL))
+ {
+ IPACMDBG_H("No tx/rx properties registered for iface %s, not posting lan2lan event(%d)\n", dev_name, event);
+ return IPACM_SUCCESS;
+ }
+
if(data == NULL)
{
IPACMERR("Event data is empty.\n");