diff options
author | Szymon Janc <szymon.janc@gmail.com> | 2013-11-25 22:15:46 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-11-27 11:21:42 +0200 |
commit | bc05407e078ad09a7845138421c939731205954a (patch) | |
tree | 6b70d58a245143f6239a5c34b9972f91ed5db1f1 /plugins | |
parent | f8f9f8e3094dec4d356429ed85bed30dc65f26c6 (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.c | 2 | ||||
-rw-r--r-- | plugins/wiimote.c | 2 |
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; } |