summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@gmail.com>2013-11-25 22:15:46 +0000
committerJohan Hedberg <johan.hedberg@intel.com>2013-11-27 11:21:42 +0200
commitbc05407e078ad09a7845138421c939731205954a (patch)
tree6b70d58a245143f6239a5c34b9972f91ed5db1f1 /plugins
parentf8f9f8e3094dec4d356429ed85bed30dc65f26c6 (diff)
Rename adapter_get_address to btd_adapter_get_address
Allow this symbol to be exported and usable from external plugins.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/neard.c2
-rw-r--r--plugins/wiimote.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/neard.c b/plugins/neard.c
index 58689e667..35fdaeb57 100644
--- a/plugins/neard.c
+++ b/plugins/neard.c
@@ -227,7 +227,7 @@ static DBusMessage *create_request_oob_reply(struct btd_adapter *adapter,
uint8_t *peir = eir;
int len;
- len = eir_create_oob(adapter_get_address(adapter),
+ len = eir_create_oob(btd_adapter_get_address(adapter),
btd_adapter_get_name(adapter),
btd_adapter_get_class(adapter), hash,
randomizer, main_opts.did_vendor,
diff --git a/plugins/wiimote.c b/plugins/wiimote.c
index 6cc21ee53..96a656952 100644
--- a/plugins/wiimote.c
+++ b/plugins/wiimote.c
@@ -106,7 +106,7 @@ static ssize_t wii_pincb(struct btd_adapter *adapter, struct btd_device *device,
found:
DBG("Forcing fixed pin on detected wiimote %s", addr);
- memcpy(pinbuf, adapter_get_address(adapter), 6);
+ memcpy(pinbuf, btd_adapter_get_address(adapter), 6);
return 6;
}