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:
7985ad8
)
network: Fix always attempting to connect to PANU service
author
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Mon, 26 Nov 2012 13:09:21 +0000
(15:09 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Mon, 26 Nov 2012 14:36:15 +0000
(16:36 +0200)
connection_connect takes the remote role as parameter not the local one.
profiles/network/manager.c
patch
|
blob
|
history
diff --git
a/profiles/network/manager.c
b/profiles/network/manager.c
index
06abe1b
..
06ef9fc
100644
(file)
--- a/
profiles/network/manager.c
+++ b/
profiles/network/manager.c
@@
-100,8
+100,7
@@
static int connect_profile(struct btd_device *dev, struct btd_profile *profile,
req->profile = profile;
req->cb = cb;
- err = connection_connect(dev, BNEP_SVC_PANU, NULL, connect_profile_cb,
- req);
+ err = connection_connect(dev, id, NULL, connect_profile_cb, req);
if (err < 0) {
g_free(req);
return err;