UPSTREAM: base-sim: Reprobe modem if lock status cannot be read after sending puk

If the lock status cannot be read during a puk unblock attempt, reprobe
the modem. It is likely that the SIM was permanently blocked if the lock
status cannot be read.

BUG=b:172019580
TEST=Check that modem ends up in a failed state after 10 puk retries

Change-Id: I49f92c22898001b0a4d5616f40645c25b88e8dde
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/modemmanager-next/+/2565503
Reviewed-by: Andrew Lassalle <andrewlassalle@chromium.org>
Reviewed-by: Pavan Holla <pholla@google.com>
Tested-by: Pavan Holla <pholla@google.com>
Commit-Queue: Pavan Holla <pholla@google.com>
(cherry picked from commit 1e6d4e4401567dc91b3f7c9a83bdcf00108017ac)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/modemmanager-next/+/2578181
6 files changed