From 2e8fb907ca76d99816ea35ac87727bad1ba88664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Melhus?= <5099412+jmelhus@users.noreply.github.com> Date: Tue, 31 Aug 2021 13:05:09 +0200 Subject: [PATCH] [bluetooth.bluegiga] Fix CompareObjectsWithEquals findings regression causing all devices to be beacons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jørgen Melhus <5099412+jmelhus@users.noreply.github.com> --- .../binding/bluetooth/bluegiga/BlueGigaBluetoothDevice.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/BlueGigaBluetoothDevice.java b/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/BlueGigaBluetoothDevice.java index 38ea9907139..11913aa3bbb 100644 --- a/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/BlueGigaBluetoothDevice.java +++ b/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/BlueGigaBluetoothDevice.java @@ -564,7 +564,7 @@ public class BlueGigaBluetoothDevice extends BaseBluetoothDevice implements Blue return; } - if (!PROCEDURE_NONE.equals(currentProcedure)) { + if (PROCEDURE_NONE.equals(currentProcedure)) { logger.debug("BlueGiga procedure completed but procedure is null with connection {}, address {}", connection, address); return;