diff options
author | Daniel Golle <daniel@makrotopia.org> | 2022-03-24 18:40:14 +0000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-03-24 18:45:19 +0000 |
commit | ee7cb5e885118b78fb5f692d8ed6c93bb7e35853 (patch) | |
tree | a691c0c7104511b70881654aecef56c01dcc5518 /target/Config.in | |
parent | dc23df8a8ca728871d84f0a140f4b52c36b03f1d (diff) | |
download | upstream-ee7cb5e885118b78fb5f692d8ed6c93bb7e35853.tar.gz upstream-ee7cb5e885118b78fb5f692d8ed6c93bb7e35853.tar.bz2 upstream-ee7cb5e885118b78fb5f692d8ed6c93bb7e35853.zip |
uqmi: fix acquiring PIN status
Evaluating the return value of 'json_load' didn't work in the
intended way resulting in PIN status no longer being read on modems
where --get-pin-status doesn't fail.
Fix this by trying --get-pin-status first and checking if pin1_status
field exists in JSON, and if it doesn't try again with
--uim-get-sim-state.
Fixes: #9501
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/Config.in')
0 files changed, 0 insertions, 0 deletions