summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2013-07-15 16:19:03 +0300
committerZhang zhengguang <zhengguang.zhang@intel.com>2013-08-09 10:10:41 +0800
commite6e99073ff74d8f1320c43c592f9aeb53484bba8 (patch)
treefe92f2812cf452f9085467650c7b698f9bb4659d /src
parent4a83a92b35a426b18cb5aada35c0a219e82c7663 (diff)
downloadconnman-e6e99073ff74d8f1320c43c592f9aeb53484bba8.tar.gz
connman-e6e99073ff74d8f1320c43c592f9aeb53484bba8.tar.bz2
connman-e6e99073ff74d8f1320c43c592f9aeb53484bba8.zip
Upstream/technology: Print information when technogy is switched on
Upstream commit id: 5378ab988795358855e76f5dfce71907e0346110
Diffstat (limited to 'src')
-rw-r--r--src/technology.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/technology.c b/src/technology.c
index be28661a..840d0566 100644
--- a/src/technology.c
+++ b/src/technology.c
@@ -1623,8 +1623,10 @@ softblock_change:
if (technology->hardblocked == TRUE) {
DBG("%s is switched off.", get_name(technology->type));
technology_dbus_unregister(technology);
- } else
+ } else {
+ DBG("%s is switched on.", get_name(technology->type));
technology_dbus_register(technology);
+ }
}
return technology->hardblocked;