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:
6f24662
)
Don't send signals for unregistered networks
author
Marcel Holtmann
<marcel@holtmann.org>
Wed, 7 Jan 2009 01:18:20 +0000
(
02:18
+0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 7 Jan 2009 01:18:20 +0000
(
02:18
+0100)
src/network.c
patch
|
blob
|
history
diff --git
a/src/network.c
b/src/network.c
index
a4f777e
..
59c3e47
100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-593,6
+593,9
@@
int connman_network_set_connected(struct connman_network *network,
network->connected = connected;
+ if (network->registered == FALSE)
+ return 0;
+
signal = dbus_message_new_signal(network->element.path,
CONNMAN_NETWORK_INTERFACE, "PropertyChanged");
if (signal == NULL)