summaryrefslogtreecommitdiffstats
path: root/src/gprs.c
diff options
context:
space:
mode:
authorDenis Kenzior <denis.kenzior@intel.com>2009-10-24 12:19:58 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-10-24 12:39:31 -0500
commit50ae504bc6370e05bd6f3a115f67986cb565302b (patch)
tree8a985118062d698d736ba9450a695e03fc0c4341 /src/gprs.c
parent1af138d6ecf67a63c6935e9c05425d3e35b17e45 (diff)
downloadofono-50ae504bc6370e05bd6f3a115f67986cb565302b.tar.bz2
Fix: Fix segfault from improperly initialized data
Diffstat (limited to 'src/gprs.c')
-rw-r--r--src/gprs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gprs.c b/src/gprs.c
index 1827ceb1..688f2d9e 100644
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -992,6 +992,7 @@ void ofono_gprs_add_context(struct ofono_gprs *gprs,
struct ofono_gprs_context *gc)
{
gprs->context_driver = gc;
+ gc->gprs = gprs;
__ofono_atom_register(gc->atom, gprs_context_unregister);
}