Commit 5d372fd3 authored by Beniamino Galvani's avatar Beniamino Galvani
Browse files

wwan: clear idle source id when the callback runs

Fixes: f0996d0e
parent ec32edb2
......@@ -881,6 +881,8 @@ static_stage3_ip4_done (NMModemBroadband *self)
g_assert (self->_priv.ipv4_config);
g_assert (self->_priv.bearer);
self->_priv.idle_id_ip4 = 0;
_LOGI ("IPv4 static configuration:");
/* Fully fail if invalid IP address retrieved */
......@@ -986,6 +988,7 @@ stage3_ip6_done (NMModemBroadband *self)
g_assert (self->_priv.ipv6_config);
self->_priv.idle_id_ip6 = 0;
memset (&address, 0, sizeof (address));
ip_method = get_bearer_ip_method (self->_priv.ipv6_config);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment