DBG("session %p", session);
info->connect = TRUE;
+ session->info_dirty = TRUE;
g_timeout_add_seconds(0, session_cb, session);
DBG("session %p", session);
info->connect = FALSE;
+ session->info_dirty = TRUE;
g_timeout_add_seconds(0, session_cb, session);
continue;
session_iter->info.ecall = info->ecall;
+ session_iter->info_dirty = TRUE;
g_timeout_add_seconds(0, session_cb, session_iter);
}
DBusMessageIter iter, value;
const char *name;
GSList *allowed_bearers;
- int err;
DBG("session %p", session);
if (dbus_message_iter_init(msg, &iter) == FALSE)
goto err;
}
- err = session_notify(session);
- if (err < 0)
- __connman_error_failed(msg, -err);
+ if (session->info_dirty == TRUE)
+ session_cb(session);
return g_dbus_create_reply(msg, DBUS_TYPE_INVALID);