OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0bb15f
)
core: Add logging of default agent changes
author
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 6 Jun 2013 01:52:54 +0000
(
04:52
+0300)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Fri, 7 Jun 2013 15:00:28 +0000
(18:00 +0300)
src/agent.c
patch
|
blob
|
history
diff --git
a/src/agent.c
b/src/agent.c
index
0fde3ef
..
b9e6e8c
100644
(file)
--- a/
src/agent.c
+++ b/
src/agent.c
@@
-158,6
+158,11
@@
static void set_default_agent(struct agent *agent)
if (default_agent == agent)
return;
+ if (agent)
+ DBG("Default agent set to %s %s", agent->owner, agent->path);
+ else
+ DBG("Default agent cleared");
+
default_agent = agent;
adapter_foreach(set_io_cap, agent);