diff options
Diffstat (limited to 'src/mm-broadband-bearer.c')
-rw-r--r-- | src/mm-broadband-bearer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mm-broadband-bearer.c b/src/mm-broadband-bearer.c index 0a4f7477..3ab075e2 100644 --- a/src/mm-broadband-bearer.c +++ b/src/mm-broadband-bearer.c @@ -876,6 +876,11 @@ connect_succeeded (GTask *task, self->priv->port = g_object_ref (mm_bearer_connect_result_peek_data (result)); self->priv->connection_type = connection_type; + /* Save profile ID for 3GPP connections. This is required for cases where + * the standard profile selection of this class is not executed during + * connection, e.g. if a derived class implements their own connect_3gpp. */ + self->priv->profile_id = mm_bearer_connect_result_get_profile_id (result); + /* Port is connected; update the state. For ATD based connections, the port * may already be set as connected, but no big deal. */ mm_port_set_connected (self->priv->port, TRUE); |