gprs: mark context driver as not used when removing active context
PATCH 1/1 gprs: mark context driver as not used when removing active context
From: Tomasz Gregorek <[email protected]>
--- src/gprs.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
src/gprs.c +2 -0
@@ -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 );
Signature · 1 line
1.7.1
Hi Tomasz,
Quoted 2 lines
src/gprs.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
patch has been applied. Thanks.
Regards
Marcel