diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-06 19:05:54 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-06 20:18:15 +0200 |
commit | 45e8aa50df7357f7c96fc73e3cda6b69ae93bff8 (patch) | |
tree | 5d1898b86159e9431e922a1d79f75d093286ca50 /src | |
parent | 278842108c2cc1cb887f1afedfbf6cfd4a91d26a (diff) |
iface-modem-3gpp: when disabled, cleanup interface properties
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-iface-modem-3gpp.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mm-iface-modem-3gpp.c b/src/mm-iface-modem-3gpp.c index 50d1f8b5..6d31b89b 100644 --- a/src/mm-iface-modem-3gpp.c +++ b/src/mm-iface-modem-3gpp.c @@ -874,6 +874,7 @@ typedef enum { DISABLING_STEP_CLEANUP_UNSOLICITED_REGISTRATION_EVENTS, DISABLING_STEP_CLEANUP_UNSOLICITED_EVENTS, DISABLING_STEP_DISABLE_UNSOLICITED_EVENTS, + DISABLING_STEP_REGISTRATION_STATE, DISABLING_STEP_LAST } DisablingStep; @@ -1025,6 +1026,15 @@ interface_disabling_step (DisablingContext *ctx) /* Fall down to next step */ ctx->step++; + case DISABLING_STEP_REGISTRATION_STATE: + update_registration_state (ctx->self, + MM_MODEM_3GPP_REGISTRATION_STATE_UNKNOWN, + 0, /* access tech */ + 0, /* lac */ + 0); /* cid */ + /* Fall down to next step */ + ctx->step++; + case DISABLING_STEP_LAST: /* We are done without errors! */ g_simple_async_result_set_op_res_gboolean (ctx->result, TRUE); |