aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-5.10/0004-MIPS-lantiq-add-atm-hack.patch
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-03-24 18:40:14 +0000
committerDaniel Golle <daniel@makrotopia.org>2022-03-27 16:14:00 +0100
commitd7354297bb32123c61d1f6baf211e746ca8015f0 (patch)
tree6a5122d057e0acede113fdfc9ade0ca16ab4a3ee /target/linux/lantiq/patches-5.10/0004-MIPS-lantiq-add-atm-hack.patch
parent1e35d95a5bfac3896df0855f13afdfe6e132d5b1 (diff)
downloadupstream-d7354297bb32123c61d1f6baf211e746ca8015f0.tar.gz
upstream-d7354297bb32123c61d1f6baf211e746ca8015f0.tar.bz2
upstream-d7354297bb32123c61d1f6baf211e746ca8015f0.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> (cherry picked from commit ee7cb5e885118b78fb5f692d8ed6c93bb7e35853)
Diffstat (limited to 'target/linux/lantiq/patches-5.10/0004-MIPS-lantiq-add-atm-hack.patch')
0 files changed, 0 insertions, 0 deletions