summaryrefslogtreecommitdiffstats
path: root/input/manager.c
diff options
context:
space:
mode:
authorAlok Barsode <alok.barsode@azingo.com>2008-07-22 23:45:33 +0530
committerLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-07-28 10:48:48 -0300
commitdebc2efd75e3211934c2f4262140e7c28f574945 (patch)
tree03a5549ab9f04e1de34edc52fcd2dbe1afff6619 /input/manager.c
parentee86cf6916b26c167de8f0444778926148726fdf (diff)
Adding adapter_get_address.
Signed-off-by: Alok Barsode <alok.barsode@azingo.com>
Diffstat (limited to 'input/manager.c')
-rw-r--r--input/manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/input/manager.c b/input/manager.c
index aaa4a3ba..b90d1e5e 100644
--- a/input/manager.c
+++ b/input/manager.c
@@ -175,7 +175,7 @@ int input_probe(struct btd_device_driver *driver,
memset(&hidp, 0, sizeof(hidp));
- source = adapter->address;
+ source = adapter_get_address(adapter);
destination = device_get_address(device);
if (load_stored(source, destination, &hidp) == 0)
@@ -234,7 +234,7 @@ int headset_input_probe(struct btd_device_driver *driver,
return -EINVAL;
}
- source = adapter->address;
+ source = adapter_get_address(adapter);
destination = device_get_address(device);
str2ba(source, &src);