Fixed bug when pairing fails if initiated by the desktop
If the phone thinks that it's already paired with the computer when receiving a pairing request, it will answer stuff back that will cause the desktop to abort the pairing process.
This commit is contained in:
parent
856bd1e346
commit
654ee39b37
1 changed files with 1 additions and 3 deletions
|
@ -391,9 +391,7 @@ void Device::privateReceivedPackage(const NetworkPackage& np)
|
|||
}
|
||||
} else {
|
||||
qCDebug(KDECONNECT_CORE) << "device" << name() << "not paired, ignoring package" << np.type();
|
||||
|
||||
//FIXME: Uncommenting this fixes a bug where trying to pair from kde does not work, but I want to investigate the root cause of the bug first (01/03/15)
|
||||
//if (m_pairStatus != Device::Requested)
|
||||
if (m_pairStatus != Device::Requested)
|
||||
unpair();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue