diff options
author | João Paulo Rechi Vita <jprvita@openbossa.org> | 2012-10-11 02:30:46 -0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-10-11 08:57:56 +0200 |
commit | 73e9a4ab17797f1486aa05c0c65ca2934253adfe (patch) | |
tree | 7857d6fb71fd1a1cbb2dc8570f0f1032bc6b1a69 /src | |
parent | 7a63b8a0e6211b6d01cad266350d3d70a28e890d (diff) |
core: Fix connecting to an already connected device on pairing
Diffstat (limited to 'src')
-rw-r--r-- | src/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c index d85d41cd..0635dee4 100644 --- a/src/device.c +++ b/src/device.c @@ -2940,7 +2940,7 @@ DBusMessage *device_create_bonding(struct btd_device *device, device->bonding = bonding; bonding->device = device; - if (device_is_le(device)) { + if (device_is_le(device) && !device_is_connected(device)) { adapter_connect_list_add(adapter, device); return NULL; } |