tuhi: fix cold plug of devices last seen in pairing mode
fix ca82af78de
("tuhi: handle cold-plugged devices").
The point of deciding whether a device was in the pairing mode was actually
ignored when building the list of available devices.
This commit is contained in:
parent
7d86305b52
commit
56be286d68
|
@ -241,7 +241,7 @@ class Tuhi(GObject.Object):
|
|||
|
||||
d = self.devices[bluez_device.address]
|
||||
|
||||
if Tuhi._is_pairing_device(bluez_device):
|
||||
if pairing_device:
|
||||
d.paired = False
|
||||
logger.debug('{}: call Pair() on device'.format(bluez_device.objpath))
|
||||
elif d.listening:
|
||||
|
|
Loading…
Reference in New Issue