modemmanager: add pin check attempts
authorFlorian Eckert <fe@dev.tdt.de>
Thu, 26 Sep 2024 09:02:49 +0000 (11:02 +0200)
committerRobert Marko <robimarko@gmail.com>
Thu, 17 Oct 2024 16:29:16 +0000 (18:29 +0200)
commit85a01e2bb348074c2df220890657ad7897260c8a
tree40920b4c22d35b92e0e6cd7a5457bd5291b3b526
parentdeaef51d0751162ca9a5092dee0d81b2419b50d5
modemmanager: add pin check attempts

This new check in the proto modemanager prevents the SIM card from being
blocked and therefore PUK is not required. If the PIN is entered incorrectly
in the 'uci' configuration, it makes no sense to try this several times
until the PUK is required. Should it nevertheless happen that the PUK
is required, then this will logged.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
net/modemmanager/files/lib/netifd/proto/modemmanager.sh