mirror of https://gerrit.osmocom.org/libosmocore
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:
parent
e09deb6355
commit
8138c53a32
|
@ -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)
|
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);
|
osmo_timer_del(&priv->alive.timer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue