projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a46753e
)
ofono: Network name is empty when operator is not available
author
Bertrand Aygon
<bertrand.aygon@intel.com>
Thu, 28 Jul 2011 10:14:23 +0000
(12:14 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 28 Jul 2011 15:43:44 +0000
(17:43 +0200)
When the operator is not available and the network name is left to NULL,
the service is built with the hidden flag set.
The operator name will be updated whenever oFono passes it to ConnMan.
plugins/ofono.c
patch
|
blob
|
history
diff --git
a/plugins/ofono.c
b/plugins/ofono.c
index
1bd9a30
..
8650bfc
100644
(file)
--- a/
plugins/ofono.c
+++ b/
plugins/ofono.c
@@
-889,6
+889,8
@@
static int add_network(struct connman_device *device,
if (modem->operator)
connman_network_set_name(network, modem->operator);
+ else
+ connman_network_set_name(network, "");
if (modem->has_strength)
connman_network_set_strength(network, modem->strength);