---
 include/device.h |    2 ++
 src/device.c     |   13 +++++++++++++
 2 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/include/device.h b/include/device.h
index f4e802e..d066296 100644
--- a/include/device.h
+++ b/include/device.h
@@ -110,6 +110,8 @@ void connman_device_set_data(struct connman_device *device, 
void *data);
 
 int connman_device_set_regdom(struct connman_device *device,
                                                const char *alpha2);
+void connman_device_regdom_notify(struct connman_device *device,
+                                       int result, const char *alpha2);
 
 struct connman_device_driver {
        const char *name;
diff --git a/src/device.c b/src/device.c
index 43ebb6c..ec732b8 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1061,6 +1061,19 @@ int connman_device_set_regdom(struct connman_device 
*device,
        return device->driver->set_regdom(device, alpha2);
 }
 
+/**
+ * connman_device_regdom_notify
+ * @device: device structure
+ * @alpha2: string representing regulatory domain
+ *
+ * Notify on setting regulatory domain on device basis
+ */
+void connman_device_regdom_notify(struct connman_device *device,
+                                       int result, const char *alpha2)
+{
+       __connman_technology_notify_regdom_by_device(device, result, alpha2);
+}
+
 int __connman_device_request_scan(enum connman_service_type type)
 {
        connman_bool_t success = FALSE;
-- 
1.7.8.6

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to