---
src/connman.h | 2 ++
src/technology.c | 15 +++++++++++++++
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/src/connman.h b/src/connman.h
index 0418a7e..5ab9eb5 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -457,6 +457,8 @@ void __connman_technology_add_interface(enum
connman_service_type type,
int index, const char *name, const char *ident);
void __connman_technology_remove_interface(enum connman_service_type type,
int index, const char *name, const char *ident);
+void __connman_technology_notify_regdom_by_device(struct connman_device
*device,
+ int result, const char *alpha2);
#include <connman/device.h>
diff --git a/src/technology.c b/src/technology.c
index 3781b0c..e2e00e5 100644
--- a/src/technology.c
+++ b/src/technology.c
@@ -845,6 +845,21 @@ void __connman_technology_scan_stopped(struct
connman_device *device)
reply_scan_pending(technology, 0);
}
+void __connman_technology_notify_regdom_by_device(struct connman_device
*device,
+ int result, const char *alpha2)
+{
+ struct connman_technology *technology;
+ enum connman_service_type type;
+
+ type = __connman_device_get_service_type(device);
+ technology = technology_find(type);
+
+ if (technology == NULL)
+ return;
+
+ connman_technology_regdom_notify(technology, alpha2);
+}
+
static DBusMessage *scan(DBusConnection *conn, DBusMessage *msg, void *data)
{
struct connman_technology *technology = data;
--
1.7.8.6
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman