From: Niraj Kumar Goit Date: Tue, 18 May 2021 07:54:27 +0000 (+0530) Subject: Added support to get country-code. X-Git-Tag: accepted/tizen/unified/20210601.135338~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F72%2F258472%2F1;p=platform%2Fupstream%2Fconnman.git Added support to get country-code. Change-Id: I880450f406c48490f5952452f0e586ca4d0d3c9e Signed-off-by: Niraj Kumar Goit --- diff --git a/src/technology.c b/src/technology.c index 34476df..016541c 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); }