UPSTREAM: base-sim: Reprobe modem if puk lock is discovered after sending pin1

Enabling/Disabling/Changing/Sending the PIN1 lock is usually limited to
3 retries. If these attempts are exhausted, the modem is puk_locked.
We reprobe the modem to get rid of any unwanted interfaces and move
to a locked state.

BUG=b:172390546
TEST=Check that modem reprobes after 3 pin1 retries

Change-Id: Idf17a59dbfd0626004803180549eae441651b698
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/modemmanager-next/+/2565504
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 4c3f5050b6666c8c056e1a000e523289d96304f0)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/modemmanager-next/+/2578182
1 file changed