mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 10:08:05 +02:00
wwan: clear idle source id when the callback runs
Fixes:f0996d0eb8(cherry picked from commit5d372fd30e)
This commit is contained in:
parent
d9512bc807
commit
4ca7e3d0cf
1 changed files with 3 additions and 0 deletions
|
|
@ -881,6 +881,8 @@ static_stage3_ip4_done (NMModemBroadband *self)
|
||||||
g_assert (self->_priv.ipv4_config);
|
g_assert (self->_priv.ipv4_config);
|
||||||
g_assert (self->_priv.bearer);
|
g_assert (self->_priv.bearer);
|
||||||
|
|
||||||
|
self->_priv.idle_id_ip4 = 0;
|
||||||
|
|
||||||
_LOGI ("IPv4 static configuration:");
|
_LOGI ("IPv4 static configuration:");
|
||||||
|
|
||||||
/* Fully fail if invalid IP address retrieved */
|
/* Fully fail if invalid IP address retrieved */
|
||||||
|
|
@ -986,6 +988,7 @@ stage3_ip6_done (NMModemBroadband *self)
|
||||||
|
|
||||||
g_assert (self->_priv.ipv6_config);
|
g_assert (self->_priv.ipv6_config);
|
||||||
|
|
||||||
|
self->_priv.idle_id_ip6 = 0;
|
||||||
memset (&address, 0, sizeof (address));
|
memset (&address, 0, sizeof (address));
|
||||||
|
|
||||||
ip_method = get_bearer_ip_method (self->_priv.ipv6_config);
|
ip_method = get_bearer_ip_method (self->_priv.ipv6_config);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue