diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-03-22 19:30:18 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-03-22 19:34:32 +0200 |
commit | c19756d3729d0770bf1e266ad9817d6e86bce667 (patch) | |
tree | 7d0771268a8330ee79d627333e0f5c54e04c303c /src/profile.c | |
parent | f6a403f084e683fb8ab1601f7cb7cbc1a4f6cd76 (diff) | |
download | bluez-c19756d3729d0770bf1e266ad9817d6e86bce667.tar.gz |
core: Update btd_adapter_find_device to also match the address type
This is necessary to do accurate matching for LE devices.
Diffstat (limited to 'src/profile.c')
-rw-r--r-- | src/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profile.c b/src/profile.c index 4b9d8e559..f6aa97018 100644 --- a/src/profile.c +++ b/src/profile.c @@ -1039,7 +1039,7 @@ static struct ext_io *create_conn(struct ext_io *server, GIOChannel *io, GIOCondition cond; char addr[18]; - device = btd_adapter_find_device(server->adapter, dst); + device = btd_adapter_find_device(server->adapter, dst, BDADDR_BREDR); if (device == NULL) { ba2str(dst, addr); error("%s device %s not found", server->ext->name, addr); |