projects
/
connman
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe6d53b
)
Don't send signals when powered state changes occur during probe
author
Marcel Holtmann
<marcel@holtmann.org>
Sun, 8 Mar 2009 12:09:02 +0000
(13:09 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 8 Mar 2009 12:09:02 +0000
(13:09 +0100)
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index
c107757
..
1657235
100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-1003,6
+1003,9
@@
int connman_device_set_powered(struct connman_device *device,
device->powered = powered;
+ if (device->registered == FALSE)
+ return 0;
+
signal = dbus_message_new_signal(device->element.path,
CONNMAN_DEVICE_INTERFACE, "PropertyChanged");
if (signal == NULL)