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:
c376ba3
)
health: Update to new adapter_get_device API
author
Johan Hedberg
<johan.hedberg@intel.com>
Fri, 25 Jan 2013 08:59:24 +0000
(10:59 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Fri, 25 Jan 2013 09:00:13 +0000
(11:00 +0200)
profiles/health/hdp.c
patch
|
blob
|
history
diff --git
a/profiles/health/hdp.c
b/profiles/health/hdp.c
index
a42ca48
..
e351219
100644
(file)
--- a/
profiles/health/hdp.c
+++ b/
profiles/health/hdp.c
@@
-1204,10
+1204,8
@@
static void mcl_connected(struct mcap_mcl *mcl, gpointer data)
if (l == NULL) {
struct hdp_adapter *hdp_adapter = data;
struct btd_device *device;
- char str[18];
- ba2str(&addr, str);
- device = adapter_get_device(hdp_adapter->btd_adapter, str,
+ device = adapter_get_device(hdp_adapter->btd_adapter, &addr,
BDADDR_BREDR);
if (!device)
return;