aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2017-10-24 16:20:21 +0200
committerJohn Crispin <john@phrozen.org>2017-10-24 16:20:21 +0200
commit09582d6b4d979375dc8da8a9a3d36d4cab884c1c (patch)
treec28da9810659a2db29eab7184961916938f16363 /package
parent5b3e35d85b04a49f24b3376da2302d45008a0589 (diff)
downloadupstream-09582d6b4d979375dc8da8a9a3d36d4cab884c1c.tar.gz
upstream-09582d6b4d979375dc8da8a9a3d36d4cab884c1c.tar.bz2
upstream-09582d6b4d979375dc8da8a9a3d36d4cab884c1c.zip
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>
Diffstat (limited to 'package')
-rwxr-xr-xpackage/network/utils/uqmi/files/lib/netifd/proto/qmi.sh2
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 f5c8768601..079c229928 100755
--- a/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh
+++ b/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh
@@ -70,7 +70,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"