diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2017-07-25 19:42:09 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2017-08-07 13:47:20 -0500 |
commit | a0a95be334d3d779e73079a0af80e6ad95e53119 (patch) | |
tree | 0d51e56a04f335e5bcd6a3b415bd539bc63c1674 /plugins/allowed-apns.c | |
parent | 41ad1c1da0098ed0e975265e12659324d5c27df5 (diff) | |
download | ofono-a0a95be334d3d779e73079a0af80e6ad95e53119.tar.gz |
plugins: Remove AllowedAccessPoints interface
Without this patch, a modem that has been removed still shows the
AllowedAccessPoints interface
Diffstat (limited to 'plugins/allowed-apns.c')
-rw-r--r-- | plugins/allowed-apns.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |