Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: openwrt#9501 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
- Loading branch information