uqmi: stop proto handler if verify pin count is not 3
authorFlorian Eckert <fe@dev.tdt.de>
Thu, 12 Apr 2018 08:31:29 +0000 (10:31 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:22:06 +0000 (17:22 +0100)
commitbcf824a4794f12e71d1215e39950c5eab89be084
tree76175fde54a6731ef8afa5d8629f55241a0cf612
parent4f02bee9bbc77f65920f0a96afe429dc2e973b1d
uqmi: stop proto handler if verify pin count is not 3

Check pin count value from pin status and stop verification the pin if
the value is less then 3. This should prevent the proto-handler to
lock the SIM. If SIM is locked then the PUK is needed.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(backported from 0c9d06b5b243334123eafaf2e26a15ec2757767e)
package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh