diff options
author | Ben Chan <benchan@chromium.org> | 2017-08-07 15:34:48 -0700 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-09-07 19:06:55 +0200 |
commit | eb9ec1b617b27485a4f0ede472e9088f0ca52066 (patch) | |
tree | 254c72456c5b55c06315759b9fcfe6474c91e7dd /plugins/tests/test-port-context.c | |
parent | d4ff05af5e5ef73abc717467f5988328c0d0319f (diff) |
sim-mbim: update unlock retries information after PIN operations
After MMSimMbim performs a MBIM_CID_PIN set operation, it calls
mm_iface_modem_update_lock_info() (through its base class MMBaseSim) to
refresh the unlock retries information, which results in a MBIM_CID_PIN
query. However, a MBIM_CID_PIN query reports only the information of one
PIN type and the PIN type can't be specified, we need to deduce the
number of retries left for a specific PIN type from the response of a
MBIM_CID_PIN set operation for that PIN type. To allow that, this patch
modifies MMSimMbim to update the unlock retries information after a PIN
operation based on the response to the MBIM_CID_PIN set operation.
Diffstat (limited to 'plugins/tests/test-port-context.c')
0 files changed, 0 insertions, 0 deletions