mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-19 11:18:28 +02:00
modem-manager, gsm: keep the "Connect" DBus call handler around
So that the call gets properly cancelled when deactivating.
This commit is contained in:
parent
a8f7a45e3f
commit
7314e37061
1 changed files with 5 additions and 5 deletions
|
|
@ -226,11 +226,11 @@ do_connect (NMModemGsm *self)
|
|||
DBusGProxy *proxy;
|
||||
|
||||
proxy = nm_modem_generic_get_proxy (NM_MODEM_GENERIC (self), MM_DBUS_INTERFACE_MODEM_SIMPLE);
|
||||
dbus_g_proxy_begin_call_with_timeout (proxy,
|
||||
"Connect", stage1_prepare_done,
|
||||
self, NULL, 120000,
|
||||
DBUS_TYPE_G_MAP_OF_VARIANT, priv->connect_properties,
|
||||
G_TYPE_INVALID);
|
||||
priv->call = dbus_g_proxy_begin_call_with_timeout (proxy,
|
||||
"Connect", stage1_prepare_done,
|
||||
self, NULL, 120000,
|
||||
DBUS_TYPE_G_MAP_OF_VARIANT, priv->connect_properties,
|
||||
G_TYPE_INVALID);
|
||||
}
|
||||
|
||||
static void stage1_enable_done (DBusGProxy *proxy, DBusGProxyCall *call_id, gpointer user_data);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue