bearer-mbim: fix error handling in connection status reload
We should not set the GError as autoptr(), as we're returning it as part of the GTask.
This commit is contained in:
@@ -1592,8 +1592,8 @@ reload_connection_status_ready (MbimDevice *device,
|
|||||||
guint32 session_id;
|
guint32 session_id;
|
||||||
MbimActivationState activation_state;
|
MbimActivationState activation_state;
|
||||||
MMBearerConnectionStatus bearer_connection_status = MM_BEARER_CONNECTION_STATUS_UNKNOWN;
|
MMBearerConnectionStatus bearer_connection_status = MM_BEARER_CONNECTION_STATUS_UNKNOWN;
|
||||||
|
GError *error = NULL;
|
||||||
g_autoptr(MbimMessage) response = NULL;
|
g_autoptr(MbimMessage) response = NULL;
|
||||||
g_autoptr(GError) error = NULL;
|
|
||||||
|
|
||||||
self = g_task_get_source_object (task);
|
self = g_task_get_source_object (task);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user