broadband-modem-mbim: reset packet service state if unregistered

This commit is contained in:
Aleksander Morgado
2023-07-14 10:41:05 +00:00
parent 22d06d6b53
commit 32b3aee8f0

View File

@@ -4797,6 +4797,8 @@ update_registration_info (MMBroadbandModemMbim *self,
g_clear_pointer (&self->priv->enabled_cache.current_operator_name, g_free);
g_free (operator_id_take);
g_free (operator_name_take);
/* Explicitly reset packet service state if we're not registered */
update_packet_service_info (self, MBIM_PACKET_SERVICE_STATE_UNKNOWN);
}
/* If we can update domain registration states right now, do it */