Message ID | 20250124185916.1546471-9-jussi.laakkonen@jolla.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Improve WireGuard disconnect, error and hostname lookup | expand |
diff --git a/vpn/plugins/vpn.c b/vpn/plugins/vpn.c index d963b985..18ec7ed3 100644 --- a/vpn/plugins/vpn.c +++ b/vpn/plugins/vpn.c @@ -534,8 +534,6 @@ static gboolean update_provider_state(gpointer data) vpn_data->watch = vpn_rtnl_add_newlink_watch(index, vpn_newlink, provider); connman_inet_ifup(index); - vpn_data->state = VPN_STATE_CONNECT; - vpn_provider_set_state(provider, VPN_PROVIDER_STATE_CONNECT); return FALSE; }