diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2013-05-17 11:08:56 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-05-17 11:08:56 +0300 |
commit | ba7a863abaed423819fb2954607027288006d109 (patch) | |
tree | 83a6bcb1205829d264bf22164f0bafb70abccf72 /attrib/utils.c | |
parent | ad17eb4eba127f8bdf3e0082532bb0768584ce3f (diff) | |
download | bluez-ba7a863abaed423819fb2954607027288006d109.tar.gz |
core: Always specify local LE address type with btio
Diffstat (limited to 'attrib/utils.c')
-rw-r--r-- | attrib/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/attrib/utils.c b/attrib/utils.c index 6ef89d46a..77bab27b0 100644 --- a/attrib/utils.c +++ b/attrib/utils.c @@ -78,6 +78,7 @@ GIOChannel *gatt_connect(const char *src, const char *dst, if (psm == 0) chan = bt_io_connect(connect_cb, NULL, NULL, &tmp_err, BT_IO_OPT_SOURCE_BDADDR, &sba, + BT_IO_OPT_SOURCE_TYPE, BDADDR_LE_PUBLIC, BT_IO_OPT_DEST_BDADDR, &dba, BT_IO_OPT_DEST_TYPE, dest_type, BT_IO_OPT_CID, ATT_CID, |