diff options
author | Niraj Kumar Goit <niraj.g@samsung.com> | 2021-05-18 13:24:27 +0530 |
---|---|---|
committer | Niraj Kumar Goit <niraj.g@samsung.com> | 2021-05-18 13:24:27 +0530 |
commit | 132afd1b759135225e1582fce0125759b8580d9e (patch) | |
tree | f8e499820d2e15f31793bfcab4e7f2930c77a76b | |
parent | ad8ef20b95a15bfa535ecaab236c0217cb207af0 (diff) | |
download | connman-132afd1b759135225e1582fce0125759b8580d9e.tar.gz connman-132afd1b759135225e1582fce0125759b8580d9e.tar.bz2 connman-132afd1b759135225e1582fce0125759b8580d9e.zip |
Added support to get country-code.
Change-Id: I880450f406c48490f5952452f0e586ca4d0d3c9e
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
-rw-r--r-- | src/technology.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/technology.c b/src/technology.c index 34476df3..016541c9 100644 --- a/src/technology.c +++ b/src/technology.c @@ -726,6 +726,10 @@ static void append_properties(DBusMessageIter *iter, if (technology->type == CONNMAN_SERVICE_TYPE_WIFI) connman_dbus_dict_append_dict(&dict, "Device.List", append_devices, technology); + if (technology->regdom) + connman_dbus_dict_append_basic(&dict, "CountryCode", + DBUS_TYPE_STRING, + &technology->regdom); #endif connman_dbus_dict_close(iter, &dict); } |