diff --git a/src/logid/backend/hidpp/Device.cpp b/src/logid/backend/hidpp/Device.cpp index 5e62a66..d4bf994 100644 --- a/src/logid/backend/hidpp/Device.cpp +++ b/src/logid/backend/hidpp/Device.cpp @@ -71,7 +71,10 @@ Device::Device(std::shared_ptr receiver, if(!event.linkEstablished) throw InvalidDevice(InvalidDevice::Asleep); - _pid = event.pid; + if(!event.fromTimeoutCheck) + _pid = event.pid; + else + _pid = receiver->getPairingInfo(_index).pid; _init(); }