projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f85ee5
)
Make netreg_update based on CREG, not CGREG
author
Denis Kenzior
<denkenz@gmail.com>
Mon, 26 Oct 2009 22:26:19 +0000
(17:26 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Mon, 26 Oct 2009 22:26:19 +0000
(17:26 -0500)
src/gprs.c
patch
|
blob
|
history
diff --git
a/src/gprs.c
b/src/gprs.c
index
988510d
..
c766870
100644
(file)
--- a/
src/gprs.c
+++ b/
src/gprs.c
@@
-574,14
+574,12
@@
static void netreg_status_changed(int status, int lac, int ci, int tech,
{
struct ofono_gprs *gprs = data;
- DBG("%d
, %d, %d, %d, %p", status, lac, ci, tech, op
);
+ DBG("%d
", status
);
if (gprs->netreg_status == status)
return;
- gprs->netreg_status = status;
- if (status != NETWORK_REGISTRATION_STATUS_REGISTERED)
- return;
+ gprs->netreg_status = status;
gprs_netreg_update(gprs);
}
@@
-905,7
+903,6
@@
static void set_registration_status(struct ofono_gprs *gprs, int status)
&str_status);
gprs_attached_update(gprs);
- gprs_netreg_update(gprs);
}
static void set_registration_location(struct ofono_gprs *gprs,