From bc05407e078ad09a7845138421c939731205954a Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Mon, 25 Nov 2013 22:15:46 +0000 Subject: Rename adapter_get_address to btd_adapter_get_address Allow this symbol to be exported and usable from external plugins. --- plugins/neard.c | 2 +- plugins/wiimote.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') 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; } -- cgit v1.2.3