projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63a1ff9
)
Fix the issue of media agent can't be registered
40/22940/1
author
wu zheng
<wu.zheng@intel.com>
Fri, 13 Jun 2014 09:43:21 +0000
(
05:43
-0400)
committer
wu zheng
<wu.zheng@intel.com>
Fri, 13 Jun 2014 09:43:21 +0000
(
05:43
-0400)
request_name_on_dbus can't get name two times.
Therefore, add the patch.
Change-Id: I9929524c9289044e7f3c14b09f5f63166ea27675
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
capi/bluetooth.c
patch
|
blob
|
history
diff --git
a/capi/bluetooth.c
b/capi/bluetooth.c
index
f132153
..
37f9be6
100644
(file)
--- a/
capi/bluetooth.c
+++ b/
capi/bluetooth.c
@@
-3535,6
+3535,9
@@
static int request_name_on_dbus(const char *name)
guint32 request_name_reply;
GError *error = NULL;
+ if (bluetooth_agent_id || profile_id)
+ return 0;
+
connection = get_system_dbus_connect();
if (connection == NULL)
return -1;