openwrt/package/network/utils/uqmi
Daniel Golle ee7cb5e885
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>
2022-03-24 18:45:19 +00:00
..
files/lib/netifd/proto uqmi: fix acquiring PIN status 2022-03-24 18:45:19 +00:00
Makefile uqmi: update to git HEAD 2022-03-12 11:07:27 +00:00