summaryrefslogtreecommitdiff
path: root/src/attrib-server.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2013-05-17 11:08:56 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2013-05-17 11:08:56 +0300
commitba7a863abaed423819fb2954607027288006d109 (patch)
tree83a6bcb1205829d264bf22164f0bafb70abccf72 /src/attrib-server.c
parentad17eb4eba127f8bdf3e0082532bb0768584ce3f (diff)
downloadbluez-ba7a863abaed423819fb2954607027288006d109.tar.gz
core: Always specify local LE address type with btio
Diffstat (limited to 'src/attrib-server.c')
-rw-r--r--src/attrib-server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/attrib-server.c b/src/attrib-server.c
index 3610e60d0..e5e30303a 100644
--- a/src/attrib-server.c
+++ b/src/attrib-server.c
@@ -1335,6 +1335,7 @@ int btd_adapter_gatt_server_start(struct btd_adapter *adapter)
server->le_io = bt_io_listen(connect_event, NULL,
&server->le_io, NULL, &gerr,
BT_IO_OPT_SOURCE_BDADDR, addr,
+ BT_IO_OPT_SOURCE_TYPE, BDADDR_LE_PUBLIC,
BT_IO_OPT_CID, ATT_CID,
BT_IO_OPT_SEC_LEVEL, BT_IO_SEC_LOW,
BT_IO_OPT_INVALID);