laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-e1d/+/27855 )
Change subject: octoi: Fix client re-start after clock drift disconnect ......................................................................
octoi: Fix client re-start after clock drift disconnect
We have to issue the OCTOI_CLNT_EV_REQUEST_SERVICE event to the FSM only after it has switched back to INIT state.
Change-Id: I1d913a8153adaf87b2c3dadcf98382ff0b9fc2fb --- M src/octoi/octoi_clnt_fsm.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/55/27855/1
diff --git a/src/octoi/octoi_clnt_fsm.c b/src/octoi/octoi_clnt_fsm.c index 697ff77..6b1d1d3 100644 --- a/src/octoi/octoi_clnt_fsm.c +++ b/src/octoi/octoi_clnt_fsm.c @@ -245,6 +245,7 @@ case CLNT_ST_WAIT_RECONNECT: LOGPFSML(fi, LOGL_INFO, "Re-starting connection\n"); osmo_fsm_inst_state_chg(fi, CLNT_ST_INIT, 0, 0); + osmo_fsm_inst_dispatch(fi, OCTOI_CLNT_EV_REQUEST_SERVICE, NULL); } return 0; } @@ -297,7 +298,6 @@
reconnect: osmo_fsm_inst_state_chg(fi, CLNT_ST_WAIT_RECONNECT, 10, 0); - osmo_fsm_inst_dispatch(fi, OCTOI_CLNT_EV_REQUEST_SERVICE, NULL); }