diff options
author | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2017-10-24 16:20:21 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-12-11 12:26:39 +0100 |
commit | ed82c52a4a88af17e525914f5d5727f0bc448c5a (patch) | |
tree | 053dc2c4c68bad241e836d30216d00c05a5ba8ec | |
parent | b41a2e646e71d9a483fa3d770a0f53a33eea696c (diff) | |
download | mtk-20170518-ed82c52a4a88af17e525914f5d5727f0bc448c5a.zip mtk-20170518-ed82c52a4a88af17e525914f5d5727f0bc448c5a.tar.gz mtk-20170518-ed82c52a4a88af17e525914f5d5727f0bc448c5a.tar.bz2 |
uqmi: also try newer pin verification
Newer devices tend to only support the newer version of the pin
verification command, so also try that one.
Fixes PIN issues with modems like the Sierra Wireless MC7455
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
-rwxr-xr-x | package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh b/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh index 35de6c5..7b58f6d 100755 --- a/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh +++ b/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh @@ -69,7 +69,7 @@ proto_qmi_setup() { done [ -n "$pincode" ] && { - uqmi -s -d "$device" --verify-pin1 "$pincode" || { + uqmi -s -d "$device" --verify-pin1 "$pincode" || uqmi -s -d "$device" --uim-verify-pin1 "$pincode" || { echo "Unable to verify PIN" proto_notify_error "$interface" PIN_FAILED proto_block_restart "$interface" |