From 7f8b7adfde45d5f47ad478a1a7ff67e04928599a Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Thu, 11 Jan 2024 10:47:02 +0000 Subject: [PATCH] iface-modem: do not setup carrier config if eSIM without profiles Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/802 --- src/mm-iface-modem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c index bc3f9a86..35ee4b5a 100644 --- a/src/mm-iface-modem.c +++ b/src/mm-iface-modem.c @@ -6032,7 +6032,7 @@ interface_initialization_step (GTask *task) * validate whether we're already using the best config or not. */ if (!sim) mm_obj_dbg (self, "not setting up carrier config: SIM not found"); - else if (!mm_base_sim_is_esim_without_profiles (sim)) + else if (mm_base_sim_is_esim_without_profiles (sim)) mm_obj_dbg (self, "not setting up carrier config: eSIM without profiles"); else if (!carrier_config_mapping) mm_obj_dbg (self, "not setting up carrier config: mapping file not configured");