This patch is a kind of workaround for failure to find specific AMB
Objects since current ambd is launched twice because of vcan & usb can
device.
Change-Id: I26bcfdf8ae4cfc29d446d3b265d55f38c75da54c
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
return -ENETUNREACH;
objproxy = find_objects_with_zone(proxy, objname, zone);
- if (!objproxy) {
- DEBUGOUT("Error: find_objects_with_zone() Object Name: %s, ZoneType: %d\n",
- objname, zone);
- return -EINVAL;
+ while (!objproxy) {
+ sleep(0.1);
+ objproxy = find_objects_with_zone(proxy, objname, zone);
}
if (!g_hash_table_lookup_extended(htable,