From 0f99328af635979a91c4c4e31e2d6692d2b78181 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Sun, 21 May 2017 18:55:35 +0200 Subject: [PATCH] cinterion: don't enable simstatus URCs When polling for the SIM status, we want to read the value (mode 2) without enabling indications (mode 1). --- plugins/cinterion/mm-broadband-modem-cinterion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/cinterion/mm-broadband-modem-cinterion.c b/plugins/cinterion/mm-broadband-modem-cinterion.c index 4a4e18bf..7590e1ce 100644 --- a/plugins/cinterion/mm-broadband-modem-cinterion.c +++ b/plugins/cinterion/mm-broadband-modem-cinterion.c @@ -1560,7 +1560,7 @@ after_sim_unlock_context_step (AfterSimUnlockContext *ctx) /* Recheck */ ctx->retries--; mm_base_modem_at_command (MM_BASE_MODEM (ctx->self), - "^SIND=\"simstatus\",1", + "^SIND=\"simstatus\",2", 3, FALSE, (GAsyncReadyCallback)simstatus_check_ready,