projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5808f7e
)
ofono: Fix network name is null for CDMA network
author
Yu A Wang
<arron.wang@intel.com>
Thu, 5 Jan 2012 06:52:34 +0000
(
01:52
-0500)
committer
Daniel Wagner
<daniel.wagner@bmw-carit.de>
Thu, 5 Jan 2012 10:52:48 +0000
(11:52 +0100)
plugins/ofono.c
patch
|
blob
|
history
diff --git
a/plugins/ofono.c
b/plugins/ofono.c
index
302dbb2
..
b15ad03
100644
(file)
--- a/
plugins/ofono.c
+++ b/
plugins/ofono.c
@@
-1505,6
+1505,9
@@
static void add_cdma_network(struct modem_data *modem)
if (modem->context == NULL)
modem->context = network_context_alloc(modem->path);
+ if (modem->name == NULL)
+ modem->name = g_strdup("CDMA Network");
+
add_network(modem);
if (modem->cdma_cm_powered == TRUE)