Explorar o código

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 <[email protected]>
Koen Vandeputte %!s(int64=8) %!d(string=hai) anos
pai
achega
09582d6b4d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh

+ 1 - 1
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"