summaryrefslogtreecommitdiff
path: root/profiles/sap
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 /profiles/sap
parentf8f9f8e3094dec4d356429ed85bed30dc65f26c6 (diff)
downloadbluez-bc05407e078ad09a7845138421c939731205954a.tar.gz
Rename adapter_get_address to btd_adapter_get_address
Allow this symbol to be exported and usable from external plugins.
Diffstat (limited to 'profiles/sap')
-rw-r--r--profiles/sap/server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/profiles/sap/server.c b/profiles/sap/server.c
index 63314a771..119862dff 100644
--- a/profiles/sap/server.c
+++ b/profiles/sap/server.c
@@ -1372,7 +1372,8 @@ int sap_server_register(struct btd_adapter *adapter)
io = bt_io_listen(NULL, connect_confirm_cb, server,
NULL, &gerr,
- BT_IO_OPT_SOURCE_BDADDR, adapter_get_address(adapter),
+ BT_IO_OPT_SOURCE_BDADDR,
+ btd_adapter_get_address(adapter),
BT_IO_OPT_CHANNEL, SAP_SERVER_CHANNEL,
BT_IO_OPT_SEC_LEVEL, BT_IO_SEC_HIGH,
BT_IO_OPT_MASTER, TRUE,