summaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-07-16 15:54:16 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-07-16 15:54:16 +0200
commit0a0f473ced55dfdcfcfdc52a6a48d8db4b5d0500 (patch)
treeff1fdbf5aa545d92a04e7a37ed77076a7f59ba3a /src/device.c
parentfa1d7b70dfa10b7af44909573e9c59f9c538850b (diff)
downloadconnman-0a0f473ced55dfdcfcfdc52a6a48d8db4b5d0500.tar.gz
connman-0a0f473ced55dfdcfcfdc52a6a48d8db4b5d0500.tar.bz2
connman-0a0f473ced55dfdcfcfdc52a6a48d8db4b5d0500.zip
Add support for Technologies and EnabledTechnologies properties
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c
index 6dadaa3a..f50a98a2 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1798,6 +1798,8 @@ int connman_device_register(struct connman_device *device)
break;
}
+ __connman_notifier_device_type_register(device->type);
+
return connman_element_register(&device->element, NULL);
}
@@ -1811,6 +1813,8 @@ void connman_device_unregister(struct connman_device *device)
{
__connman_storage_save_device(device);
+ __connman_notifier_device_type_unregister(device->type);
+
connman_element_unregister(&device->element);
}