gprs_ns2_vc_fsm: reset the ALIVE response time when stopping test

Prevent showing a response time when the NSVC has failed.

Related: OS#5089
Change-Id: I5435077d35ff1ae3d743ea1b1b8ace7f0fb913cf
This commit is contained in:
Alexander Couzens 2021-06-15 22:11:40 +02:00 committed by laforge
parent e09deb6355
commit 8138c53a32
1 changed files with 1 additions and 0 deletions

View File

@ -181,6 +181,7 @@ static void start_test_procedure(struct osmo_fsm_inst *fi, bool start_tx_alive)
static void stop_test_procedure(struct gprs_ns2_vc_priv *priv)
{
osmo_stat_item_set(osmo_stat_item_group_get_item(priv->nsvc->statg, NS_STAT_ALIVE_DELAY), 0);
osmo_timer_del(&priv->alive.timer);
}