Fix initializations during MAC address get

CRs-Fixed: 685613

Change-Id: I8b1dad22b9d2b5ab98db7113a5bbd21a67704e62
Signed-off-by: Kiran Kumar C.  S. K <kkumarcs@codeaurora.org>
diff --git a/ecm_interface.c b/ecm_interface.c
index cfc89b7..ae86266 100644
--- a/ecm_interface.c
+++ b/ecm_interface.c
@@ -229,6 +229,7 @@
 	 */
 	ECM_IP_ADDR_TO_NIN6_ADDR(daddr, addr);
 	if (!ecm_interface_find_route_by_addr(addr, &ecm_rt)) {
+		*on_link = false;
 		return false;
 	}
 	DEBUG_ASSERT(!ecm_rt.v4_route, "Did not locate a v6 route!\n");
@@ -311,6 +312,7 @@
 	 */
 	ECM_IP_ADDR_TO_NIN4_ADDR(ipv4_addr, addr);
 	if (!ecm_interface_find_route_by_addr(addr, &ecm_rt)) {
+		*on_link = false;
 		return false;
 	}
 	DEBUG_ASSERT(ecm_rt.v4_route, "Did not locate a v4 route!\n");