[bluetooth.bluegiga] Fix CompareObjectsWithEquals findings regression causing all devices to be beacons

Signed-off-by: Jørgen Melhus <5099412+jmelhus@users.noreply.github.com>
This commit is contained in:
Jørgen Melhus 2021-08-31 13:05:09 +02:00 committed by GitHub
parent fac7edc270
commit 2e8fb907ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;