projects
/
project
/
uqmi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70ad886
)
uqmid: modem_fsm: set timeout for GET_IMSI to 3 seconds
author
Alexander Couzens
<
[email protected]
>
Tue, 13 Aug 2024 20:39:51 +0000
(22:39 +0200)
committer
David Bauer
<
[email protected]
>
Sat, 31 May 2025 20:41:00 +0000
(22:41 +0200)
Every state should have a timeout. 3 seconds should be plenty
to respond to GET_IMSI.
Signed-off-by: Alexander Couzens <
[email protected]
>
uqmid/modem_fsm.c
patch
|
blob
|
history
diff --git
a/uqmid/modem_fsm.c
b/uqmid/modem_fsm.c
index 81343560975be262d30cb19d9b5b38679e84c2e2..447e74e7547a60edd34989d7b9fed96e4a9048f8 100644
(file)
--- a/
uqmid/modem_fsm.c
+++ b/
uqmid/modem_fsm.c
@@
-304,7
+304,7
@@
static void modem_st_get_model(struct osmo_fsm_inst *fi, uint32_t event, void *d
uqmi_service_send_simple(service, qmi_set_dms_get_revision_request, get_revision_cb, modem);
break;
case MODEM_EV_RX_REVISION:
- osmo_fsm_inst_state_chg(fi, MODEM_ST_GET_IMSI,
0
, 0);
+ osmo_fsm_inst_state_chg(fi, MODEM_ST_GET_IMSI,
3
, 0);
break;
}
}