client: Fix TODO: add CLK status information to event-script environment

Change-Id: Iecc6002a8effaae7d8c3cab2aa4c6109f83f35b2
changes/62/17362/2
Harald Welte 3 years ago
parent 0e968cce38
commit 9629ba3fb9
  1. 2
      src/client/main_fsm.c

@ -70,7 +70,7 @@ static char **build_script_env(struct bankd_client *bc, const char *cause)
env[i++] = talloc_asprintf(env, "REMSIM_SIM_VCC=%u", bc->last_status.flags.vcc_present);
env[i++] = talloc_asprintf(env, "REMSIM_SIM_RST=%u", bc->last_status.flags.reset_active);
/* TODO: SIM card state CLK */
env[i++] = talloc_asprintf(env, "REMSIM_SIM_CLK=%u", bc->last_status.flags.clk_active);
env[i++] = talloc_asprintf(env, "REMSIM_CAUSE=%s", cause);

Loading…
Cancel
Save