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:
b3a166a
)
Fix status of operator unknown case
author
Denis Kenzior
<denkenz@gmail.com>
Tue, 7 Jul 2009 16:18:39 +0000
(11:18 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Tue, 7 Jul 2009 19:33:59 +0000
(14:33 -0500)
When the current operator is reported, it's status is listed as
unknown if no other operators are in the operator list
src/network.c
patch
|
blob
|
history
diff --git
a/src/network.c
b/src/network.c
index
ec91a80
..
402d2af
100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-980,6
+980,8
@@
static void current_operator_callback(const struct ofono_error *error,
memcpy(netreg->current_operator, current,
sizeof(struct ofono_network_operator));
+ netreg->current_operator->status = OPERATOR_STATUS_CURRENT;
+
netreg->operator_list = g_slist_append(netreg->operator_list,
netreg->current_operator);