broadband-bearer: Save profile ID upon successful connection
Signed-off-by: Sven Schwermer <sven.schwermer@disruptive-technologies.com>
This commit is contained in:

committed by
Aleksander Morgado

parent
8934ce865c
commit
661a63b37b
@@ -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);
|
||||
|
Reference in New Issue
Block a user