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:
8434b7c
)
adapter: Add warning if there is no authorization agent
author
Chan-yeol Park
<chanyeol.park@samsung.com>
Mon, 16 Apr 2012 11:56:33 +0000
(20:56 +0900)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Mon, 16 Apr 2012 19:54:14 +0000
(22:54 +0300)
Sometimes BlueZ Agent is disappear suddenly or not registered
because of agent problem. but Bluez just prints "Operation Not
permiited"
This will help debugging.
src/adapter.c
patch
|
blob
|
history
diff --git
a/src/adapter.c
b/src/adapter.c
index
d9d7c19
..
12b6aeb
100644
(file)
--- a/
src/adapter.c
+++ b/
src/adapter.c
@@
-3106,6
+3106,7
@@
static int adapter_authorize(struct btd_adapter *adapter, const bdaddr_t *dst,
agent = device_get_agent(device);
if (!agent) {
+ warn("Can't find device agent");
g_free(auth);
return -EPERM;
}