diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2021-04-29 17:34:54 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-04-30 10:28:52 +0000 |
commit | edee1e3f84b34b6a4bd6f230371a36ea03539af7 (patch) | |
tree | 5063d071744b5d24509f8198c444bf24cf20d4bc /src/mm-device.c | |
parent | c330d44343e9a34816732341642088b70d49ba78 (diff) |
broadband-modem-qmi: ensure we do not re-use old EPS registration state
When updating the registration state, in the case where LTE is not ready,
ensure we reset the EPS registration state rather than leaving its old
value.
Else when the consolidated registration is built, it can wrongly think
we are registered, e.g. the following case was happening:
[modem0] consolidated registration state: cs 'home', ps 'home', eps 'home', 5gs 'unknown' --> 'home'
a bit later
[modem0] consolidated registration state: cs 'unknown', ps 'unknown', eps 'home', 5gs 'unknown' --> 'home'
then it wrongly tries immediatly to connect
and fails due to 'no-service'
On Qualcomm SC7180, running the following sequence would often reproduce
it:
<stop higher level network manager>
mmcli -m 0 -d
mmcli -m 0 --set-power-state-low
sleep 10
mmcli -m 0 -e
mmcli -m 0 --simple-connect="apn=broadband"
Diffstat (limited to 'src/mm-device.c')
0 files changed, 0 insertions, 0 deletions