aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dan@ioncontrol.co>2025-05-11 16:21:30 -0500
committerDan Williams <dan@ioncontrol.co>2025-05-11 16:21:30 -0500
commitbee6bce2fafdcddd0cb8fbc34898550967353f1b (patch)
tree15bc941622ed018e5db5a6501caf385ee8a70fc3
parentc99c300ad5fa350d0d2269ffde868063d5fb92ce (diff)
parent2c66b5ee16cb1a5f0dbadaf9bbdde65683196086 (diff)
Merge request !1352 from 'base-sim-auth-fix'
base-sim: Setup auth provider and its cancellable https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1352
-rw-r--r--src/mm-base-sim.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mm-base-sim.c b/src/mm-base-sim.c
index 9bffe872..1498fb0f 100644
--- a/src/mm-base-sim.c
+++ b/src/mm-base-sim.c
@@ -3041,6 +3041,10 @@ mm_base_sim_init (MMBaseSim *self)
/* Each SIM is given a unique id to build its own DBus path */
self->priv->dbus_id = id++;
+
+ /* Setup authorization provider */
+ self->priv->authp = mm_auth_provider_get ();
+ self->priv->authp_cancellable = g_cancellable_new ();
}
static void