summaryrefslogtreecommitdiffstats
path: root/drivers/isimodem/sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isimodem/sim.c')
-rw-r--r--drivers/isimodem/sim.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/isimodem/sim.c b/drivers/isimodem/sim.c
index a602e395..f5fa75d0 100644
--- a/drivers/isimodem/sim.c
+++ b/drivers/isimodem/sim.c
@@ -872,6 +872,7 @@ static void sim_reachable_cb(const GIsiMessage *msg, void *data)
if (g_isi_msg_error(msg) < 0) {
DBG("PN_SIM: %s", strerror(-g_isi_msg_error(msg)));
+ ofono_sim_remove(sim);
return;
}