From ca4f75ca0b563627bf3b65e3cea102d72ef8e5e0 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Mon, 26 Oct 2009 16:19:54 -0500 Subject: Fix: Initialize registration statuses --- src/gprs.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/gprs.c b/src/gprs.c index 487297ed..5a5e4f26 100644 --- a/src/gprs.c +++ b/src/gprs.c @@ -1222,6 +1222,8 @@ struct ofono_gprs *ofono_gprs_create(struct ofono_modem *modem, break; } + gprs->status = NETWORK_REGISTRATION_STATUS_UNKNOWN; + gprs->netreg_status = NETWORK_REGISTRATION_STATUS_UNKNOWN; gprs->technology = -1; gprs->cellid = -1; gprs->location = -1; -- cgit v1.2.3