broadband-modem-mbim: Sync state of sim_hot_swap_configured variable

This commit is contained in:
Michal Mazur
2023-01-10 17:51:49 +01:00
committed by Aleksander Morgado
parent 68e92d9308
commit 7750e927f6

View File

@@ -5733,11 +5733,14 @@ setup_sim_hot_swap_context_free (SetupSimHotSwapContext *ctx)
} }
static gboolean static gboolean
modem_setup_sim_hot_swap_finish (MMIfaceModem *self, modem_setup_sim_hot_swap_finish (MMIfaceModem *_self,
GAsyncResult *res, GAsyncResult *res,
GError **error) GError **error)
{ {
return g_task_propagate_boolean (G_TASK (res), error); MMBroadbandModemMbim *self = MM_BROADBAND_MODEM_MBIM (_self);
self->priv->sim_hot_swap_configured = g_task_propagate_boolean (G_TASK (res), error);
return self->priv->sim_hot_swap_configured;
} }
static void static void