summaryrefslogtreecommitdiff
path: root/include/device.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-07-01 06:23:55 -0700
committerMarcel Holtmann <marcel@holtmann.org>2009-07-01 06:23:55 -0700
commitbce87dffa9157ec6d9ee9621b526e72f4798d906 (patch)
tree29e07d0a48000da279b9175a2dc1cc5f933677de /include/device.h
parent9231447b24192dbe4a5796d9daeb87ec1882371c (diff)
downloadconnman-bce87dffa9157ec6d9ee9621b526e72f4798d906.tar.gz
connman-bce87dffa9157ec6d9ee9621b526e72f4798d906.tar.bz2
connman-bce87dffa9157ec6d9ee9621b526e72f4798d906.zip
Fix handling of connect/disconnect for Ethernet devices
Diffstat (limited to 'include/device.h')
-rw-r--r--include/device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/device.h b/include/device.h
index 5b103a28..b03be788 100644
--- a/include/device.h
+++ b/include/device.h
@@ -90,6 +90,8 @@ int connman_device_set_scanning(struct connman_device *device,
connman_bool_t scanning);
int connman_device_set_disconnected(struct connman_device *device,
connman_bool_t disconnected);
+int connman_device_set_connected(struct connman_device *device,
+ connman_bool_t connected);
int connman_device_set_string(struct connman_device *device,
const char *key, const char *value);