diff options
author | Aleksander Morgado <aleksandermj@chromium.org> | 2023-05-24 14:09:06 +0000 |
---|---|---|
committer | Aleksander Morgado <aleksandermj@chromium.org> | 2023-05-25 08:19:37 +0000 |
commit | 614cc3e4670c5060ad3454ed1d26501907af02d9 (patch) | |
tree | f65af422a4fa91857c3696610f6f5626c11cbfc0 | |
parent | edf22352594eece73c81f3104dde32396ab79c75 (diff) |
iface-modem-3gpp: cleanup packet service state on disabling
Otherwise the state cached by the protocol implementation will be
different to the one exposed in the 3GPP interface.
-rw-r--r-- | src/mm-iface-modem-3gpp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-iface-modem-3gpp.c b/src/mm-iface-modem-3gpp.c index a559f3d4..5d501042 100644 --- a/src/mm-iface-modem-3gpp.c +++ b/src/mm-iface-modem-3gpp.c @@ -2691,6 +2691,7 @@ interface_disabling_step (GTask *task) /* fall through */ case DISABLING_STEP_REGISTRATION_STATE: + update_packet_service_state (self, MM_MODEM_3GPP_PACKET_SERVICE_STATE_UNKNOWN); update_registration_state (self, MM_MODEM_3GPP_REGISTRATION_STATE_UNKNOWN); mm_iface_modem_3gpp_update_access_technologies (self, MM_MODEM_ACCESS_TECHNOLOGY_UNKNOWN); mm_iface_modem_3gpp_update_location (self, 0, 0, 0); |