UPSTREAM: broadband-modem-mbim: Fix detection of modem unlocking

When the modem is unlocked, the value of PIN type changes but the
PIN state is still LOCKED because PIN2 lock is always active.
(fixes commit 6359cc93fe84fbb6084285498b007fe2e652e9e1)

(cherry-picked from commit 091fbe12123f9bc43f2f2c3e878408bdb5febfd5)

BUG=b:315288053
TEST=Check if UI gets updated after modem is unlocked

Change-Id: Ie2c985e188a3e9f28c7dcfedb4b673fd591483b4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/modemmanager-next/+/5184531
Reviewed-by: Aleksander Morgado <aleksandermj@google.com>
Tested-by: Michał Mazur <michamazur@google.com>
Commit-Queue: Michał Mazur <michamazur@google.com>
1 file changed