diff options
author | Dan Williams <dan@ioncontrol.co> | 2025-05-15 10:21:13 -0500 |
---|---|---|
committer | Dan Williams <dan@ioncontrol.co> | 2025-05-23 08:31:04 -0500 |
commit | 5c1fcbfe4a6ee9e89f8b859e26d7d0f74106178d (patch) | |
tree | 7df1d08d24db68b12b202d7bf2f658e0c8787b69 /src/mm-netlink.h | |
parent | 757df26b295a9b9306fe3278b7f3730cc3a9c703 (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 'src/mm-netlink.h')
0 files changed, 0 insertions, 0 deletions