summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJaehyun Kim <jeik01.kim@samsung.com>2020-10-07 11:08:26 +0900
committerJaehyun Kim <jeik01.kim@samsung.com>2020-10-07 19:55:10 +0900
commit92632d79d49dd50e5a162b2cb78ca53a75d570e2 (patch)
treeb296be67afd3ef7242e95f494e41b718d5b69a36 /plugins
parent9395e7a086359069486e002c02b5777ca0c0df26 (diff)
downloadconnman-92632d79d49dd50e5a162b2cb78ca53a75d570e2.tar.gz
connman-92632d79d49dd50e5a162b2cb78ca53a75d570e2.tar.bz2
connman-92632d79d49dd50e5a162b2cb78ca53a75d570e2.zip
Add support for dlog
1. Add support for dlog 2. Add some log options to main.conf 3. Allow to simplify the amount of logs by option Change-Id: I8c1202ae267aca9bb2c18d44c2ccd3e6d5a74a73 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/wifi.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c
index d532e935..6672f0dd 100755
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -3353,6 +3353,9 @@ static void system_killed(void)
static int network_probe(struct connman_network *network)
{
+#if defined TIZEN_EXT
+ if (!simplified_log)
+#endif
DBG("network %p", network);
return 0;
@@ -4819,7 +4822,9 @@ static void network_added(GSupplicantNetwork *supplicant_network)
mode = g_supplicant_network_get_mode(supplicant_network);
identifier = g_supplicant_network_get_identifier(supplicant_network);
-
+#if defined TIZEN_EXT
+ if (!simplified_log)
+#endif
DBG("%s", identifier);
if (!g_strcmp0(mode, "adhoc"))
@@ -5072,7 +5077,8 @@ static void network_changed(GSupplicantNetwork *network, const char *property)
name = g_supplicant_network_get_name(network);
#if defined TIZEN_EXT
- DBG("name %s property %s", name, property);
+ if (!simplified_log)
+ DBG("name %s property %s", name, property);
#else
DBG("name %s", name);
#endif