* [PATCH] plugins/allowed-apns: remove dbus interface when modem disappear
@ 2017-07-25 17:42 Alexander Couzens
2017-08-07 18:49 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Couzens @ 2017-07-25 17:42 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 670 bytes --]
Previous a disappeared modem still shows the following methods:
org.ofono.AllowedAccessPoints.GetAllowedAccessPoints
---
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;
}
--
2.13.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] plugins/allowed-apns: remove dbus interface when modem disappear
2017-07-25 17:42 [PATCH] plugins/allowed-apns: remove dbus interface when modem disappear Alexander Couzens
@ 2017-08-07 18:49 ` Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2017-08-07 18:49 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 341 bytes --]
Hi Alexander,
On 07/25/2017 12:42 PM, Alexander Couzens wrote:
> Previous a disappeared modem still shows the following methods:
> org.ofono.AllowedAccessPoints.GetAllowedAccessPoints
> ---
> plugins/allowed-apns.c | 1 +
> 1 file changed, 1 insertion(+)
>
Applied after rewording the commit description.
Regards,
-Denis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-07 18:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-25 17:42 [PATCH] plugins/allowed-apns: remove dbus interface when modem disappear Alexander Couzens
2017-08-07 18:49 ` Denis Kenzior
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.