diff options
author | Dan Williams <dcbw@redhat.com> | 2013-03-04 17:38:28 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2013-04-08 11:30:32 -0500 |
commit | 4a21eb08dbf3a3589e27ab2f8973795cdad30a9f (patch) | |
tree | ae56a7fce32c628738fdd2ff7faeff28cc158e1f /libnm-glib/nm-client.c | |
parent | 94ae8449c9ab072ecc8f97ea2b128a4ee101e31a (diff) | |
download | NetworkManager-4a21eb08dbf3a3589e27ab2f8973795cdad30a9f.tar.gz |
libnm-glib: clear and recheck permissions on NM restarts
Diffstat (limited to 'libnm-glib/nm-client.c')
-rw-r--r-- | libnm-glib/nm-client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libnm-glib/nm-client.c b/libnm-glib/nm-client.c index 5121457cdf..b42eaecd4a 100644 --- a/libnm-glib/nm-client.c +++ b/libnm-glib/nm-client.c @@ -1220,6 +1220,7 @@ proxy_name_owner_changed (DBusGProxy *proxy, poke_wireless_devices_with_rf_status (client); free_devices (client, TRUE); free_active_connections (client, TRUE); + update_permissions (client, NULL); priv->wireless_enabled = FALSE; priv->wireless_hw_enabled = FALSE; priv->wwan_enabled = FALSE; @@ -1236,6 +1237,7 @@ proxy_name_owner_changed (DBusGProxy *proxy, } else { _nm_object_suppress_property_updates (NM_OBJECT (client), FALSE); _nm_object_reload_properties_async (NM_OBJECT (client), updated_properties, client); + client_recheck_permissions (priv->client_proxy, client); } } |