UPSTREAM: broadband-modem-mbim: fix detection of SIM hot swap
Previous patch for hotswap detection caused the modem to be reprobed
after unlocking or changing PIN for SIM card lock (commit 7b878765c6c8).
This change allows to differentiate between hotswap and PIN lock events.
(cherry-picked from commit dc4b1ec0f3d81adce37ea2918b7c651a5a783597)
BUG=b:312914695
TEST=cellular.ShillSimPukLock, cellular.ShillSimChangePin
Change-Id: Iee179e0c526f7b4f40dab00e62646fae3c7e6131
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/modemmanager-next/+/5054281
Commit-Queue: Aleksander Morgado <aleksandermj@google.com>
Auto-Submit: Michał Mazur <michamazur@google.com>
Commit-Queue: Michał Mazur <michamazur@google.com>
Tested-by: Michał Mazur <michamazur@google.com>
Reviewed-by: Aleksander Morgado <aleksandermj@google.com>
1 file changed