diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ofono.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/ofono.c b/plugins/ofono.c index 2122b85d..41954e4e 100644 --- a/plugins/ofono.c +++ b/plugins/ofono.c @@ -1698,8 +1698,10 @@ static void cm_update_attached(struct modem_data *modem, DBG("%s Attached %d", modem->path, modem->attached); - if (modem->attached == FALSE) + if (modem->attached == FALSE) { + remove_network(modem); return; + } if (has_interface(modem->interfaces, OFONO_API_NETREG) == FALSE) { |