aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-output.c
diff options
context:
space:
mode:
authorDan Williams <dan@ioncontrol.co>2025-05-15 10:21:13 -0500
committerDan Williams <dan@ioncontrol.co>2025-05-23 08:31:04 -0500
commit5c1fcbfe4a6ee9e89f8b859e26d7d0f74106178d (patch)
tree7df1d08d24db68b12b202d7bf2f658e0c8787b69 /cli/mmcli-output.c
parent757df26b295a9b9306fe3278b7f3730cc3a9c703 (diff)
mtk-legacy: read IMSI if CPIN response is an error
Some older MTK-based phones (Tecno T528 NEW) reply to +CPIN with an error but are (obviously) unlocked, otherwise they wouldn't be able to boot up to the point of talking to a computer. Since they are actually unlocked they will happily give out the IMSI even if +CPIN errors. To work around the +CPIN issue treat the device as unlocked if we can successfully read the IMSI. Fixes: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/980 Signed-off-by: Dan Williams <dan@ioncontrol.co>
Diffstat (limited to 'cli/mmcli-output.c')
0 files changed, 0 insertions, 0 deletions