diff options
author | Tomasz Gregorek <tomasz.gregorek@stericsson.com> | 2011-01-20 13:16:59 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-01-20 13:31:29 +0100 |
commit | 33aaeb9dffcb12032c811d56786489fd9bf433fa (patch) | |
tree | fa8d6938be16304cfcad6b2ac3a389c5a1beb0bb /src/gprs.c | |
parent | 1b10f55f5c33feec78116ce8c12114f54d0d1846 (diff) | |
download | ofono-33aaeb9dffcb12032c811d56786489fd9bf433fa.tar.bz2 |
gprs: mark context driver as not used when removing active context
Diffstat (limited to 'src/gprs.c')
-rw-r--r-- | src/gprs.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1679,6 +1679,8 @@ static void gprs_deactivate_for_remove(const struct ofono_error *error, gprs_cid_release(gprs, ctx->context.cid); ctx->context.cid = 0; + ctx->context_driver->inuse = FALSE; + ctx->context_driver = NULL; if (gprs->settings) { g_key_file_remove_group(gprs->settings, ctx->key, NULL); |