diff options
Diffstat (limited to 'src/network.c')
-rwxr-xr-x | src/network.c | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/src/network.c b/src/network.c index 636da188..281d0204 100755 --- a/src/network.c +++ b/src/network.c @@ -1169,7 +1169,9 @@ static int network_probe(struct connman_network *network) driver = NULL; continue; } - +#if defined TIZEN_EXT + if (!simplified_log) +#endif DBG("driver %p name %s", driver, driver->name); if (driver->probe(network) == 0) @@ -2110,7 +2112,9 @@ int __connman_network_connect(struct connman_network *network) int __connman_network_disconnect(struct connman_network *network) { int err = 0; - +#if defined TIZEN_EXT + if (!simplified_log) +#endif DBG("network %p", network); remove_ipv4ll_timeout(network); @@ -2341,7 +2345,9 @@ int connman_network_set_bssid(struct connman_network *network, if (bssid == NULL) return -EINVAL; - +#if defined TIZEN_EXT + if (!simplified_log) +#endif DBG("network %p bssid %02x:%02x:%02x:%02x:%02x:%02x", network, bssid[0], bssid[1], bssid[2], bssid[3], bssid[4], bssid[5]); @@ -2433,6 +2439,9 @@ int connman_network_set_enc_mode(struct connman_network *network, if (encryption_mode == NULL) return -EINVAL; +#if defined TIZEN_EXT + if (!simplified_log) +#endif DBG("network %p encryption mode %s", network, encryption_mode); g_strlcpy(network->wifi.encryption_mode, encryption_mode, @@ -2526,6 +2535,9 @@ int connman_network_set_countrycode(struct connman_network *network, if (country_code == NULL) return -EINVAL; +#if defined TIZEN_EXT + if (!simplified_log) +#endif DBG("network %p Country Code %02x:%02x",network, country_code[0],country_code[1]); @@ -2552,6 +2564,9 @@ int connman_network_set_bssid_list(struct connman_network *network, int connman_network_set_phy_mode(struct connman_network *network, ieee80211_modes_e mode) { +#if defined TIZEN_EXT + if (!simplified_log) +#endif DBG("network %p phy mode %d", network, mode); network->wifi.phy_mode = mode; @@ -2684,6 +2699,9 @@ int connman_network_set_domain(struct connman_network *network, int connman_network_set_name(struct connman_network *network, const char *name) { +#if defined TIZEN_EXT + if (!simplified_log) +#endif DBG("network %p name %s", network, name); g_free(network->name); |