summaryrefslogtreecommitdiff
path: root/src/nm-active-connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-active-connection.c')
-rw-r--r--src/nm-active-connection.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nm-active-connection.c b/src/nm-active-connection.c
index 6bc02031ad..cb097c1b59 100644
--- a/src/nm-active-connection.c
+++ b/src/nm-active-connection.c
@@ -236,7 +236,9 @@ nm_active_connection_set_connection (NMActiveConnection *self,
{
NMActiveConnectionPrivate *priv = NM_ACTIVE_CONNECTION_GET_PRIVATE (self);
- /* Can't change connection after the ActiveConnection is exported over D-Bus */
+ /* Can't change connection after the ActiveConnection is exported over D-Bus.
+ * Also, if we would do that, we would have to cancel all pending secret requests
+ * from NMActRequest. */
g_return_if_fail (!nm_exported_object_is_exported (NM_EXPORTED_OBJECT (self)));
g_return_if_fail (priv->connection == NULL || !NM_IS_SETTINGS_CONNECTION (priv->connection));