From a0a95be334d3d779e73079a0af80e6ad95e53119 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Tue, 25 Jul 2017 19:42:09 +0200 Subject: [PATCH] plugins: Remove AllowedAccessPoints interface Without this patch, a modem that has been removed still shows the AllowedAccessPoints interface --- plugins/allowed-apns.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/allowed-apns.c b/plugins/allowed-apns.c index 532d17af..b222b91c 100644 --- a/plugins/allowed-apns.c +++ b/plugins/allowed-apns.c @@ -195,6 +195,7 @@ static void sim_watch(struct ofono_atom *atom, if (cond == OFONO_ATOM_WATCH_CONDITION_UNREGISTERED) { if (ctx->simwatch_id) { + sim_state_watch(OFONO_SIM_STATE_NOT_PRESENT, data); ofono_sim_remove_state_watch(ctx->sim, ctx->simwatch_id); ctx->simwatch_id = 0; }