projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d84772
)
vpn: Add debug information when vpn state changes
author
Jukka Rissanen
<jukka.rissanen@linux.intel.com>
Thu, 7 Mar 2013 16:13:43 +0000
(18:13 +0200)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Fri, 8 Mar 2013 11:50:12 +0000
(13:50 +0200)
plugins/vpn.c
patch
|
blob
|
history
diff --git
a/plugins/vpn.c
b/plugins/vpn.c
index cda0c1bb35d58f50b7cf22ae52acce1b701862b8..f15796deb28aa8e0d3822350e40986fc925b6bec 100644
(file)
--- 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;