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:
ed1d8a6
)
Fix: Don't emit spurious Base Station Name signal
author
Denis Kenzior
<denkenz@gmail.com>
Tue, 27 Oct 2009 19:41:43 +0000
(14:41 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Tue, 27 Oct 2009 19:41:43 +0000
(14:41 -0500)
src/network.c
patch
|
blob
|
history
diff --git
a/src/network.c
b/src/network.c
index
efa0bc7
..
43ee573
100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-839,6
+839,10
@@
void __ofono_netreg_set_base_station_name(struct ofono_netreg *netreg,
const char *path = __ofono_atom_get_path(netreg->atom);
const char *base_station = name ? name : "";
+ /* Cell ID changed, but we don't have a cell name, nothing to do */
+ if (netreg->base_station == NULL && name == NULL)
+ return;
+
if (netreg->base_station)
g_free(netreg->base_station);