static void idle_state(connman_bool_t idle) { DBG("idle %d", idle); connman_state_idle = idle; if (connman_state_idle == FALSE || session_mode_pending == NULL) return; session_mode_notify(); }
static void idle_state(bool idle) { DBG("idle %d", idle); connman_state_idle = idle; if (!connman_state_idle || !session_mode_pending) return; session_mode_notify(); }