summaryrefslogtreecommitdiffstats
path: root/input/manager.c
diff options
context:
space:
mode:
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);