base-sim: skip loading SIM identifier in eSIM without profiles
This commit is contained in:
@@ -803,6 +803,13 @@ mm_base_sim_load_sim_identifier (MMBaseSim *self,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (IS_ESIM_WITHOUT_PROFILES (self)) {
|
||||||
|
g_task_return_new_error (task, MM_CORE_ERROR, MM_CORE_ERROR_UNSUPPORTED,
|
||||||
|
"no SIM identifier in eSIM without profiles");
|
||||||
|
g_object_unref (task);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
MM_BASE_SIM_GET_CLASS (self)->load_sim_identifier (
|
MM_BASE_SIM_GET_CLASS (self)->load_sim_identifier (
|
||||||
self,
|
self,
|
||||||
(GAsyncReadyCallback)load_sim_identifier_ready,
|
(GAsyncReadyCallback)load_sim_identifier_ready,
|
||||||
|
Reference in New Issue
Block a user