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