summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2013-03-07 16:13:43 (GMT)
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-03-08 11:50:12 (GMT)
commit079002da173d6675072bd31a65917392119ec9e3 (patch)
tree7e36034fa67efbb2852c13b4963e764f86534a3a /plugins
parent6d847720ad07fab922b8166a1e8fa31e7ef49231 (diff)
downloadconnman-079002da173d6675072bd31a65917392119ec9e3.zip
connman-079002da173d6675072bd31a65917392119ec9e3.tar.gz
connman-079002da173d6675072bd31a65917392119ec9e3.tar.bz2
vpn: Add debug information when vpn state changes
Diffstat (limited to 'plugins')
-rw-r--r--plugins/vpn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/vpn.c b/plugins/vpn.c
index cda0c1b..f15796d 100644
--- a/plugins/vpn.c
+++ b/plugins/vpn.c
@@ -252,6 +252,8 @@ static void set_provider_state(struct connection_data *data)
enum connman_provider_state state = CONNMAN_PROVIDER_STATE_UNKNOWN;
int err = 0;
+ DBG("provider %p new state %s", data->provider, data->state);
+
if (g_str_equal(data->state, "ready") == TRUE) {
state = CONNMAN_PROVIDER_STATE_READY;
goto set;