diff --git a/src/protocols/secure_channel/PairingSession.cpp b/src/protocols/secure_channel/PairingSession.cpp index 4935511b72dd2f..ef87bedf3051c9 100644 --- a/src/protocols/secure_channel/PairingSession.cpp +++ b/src/protocols/secure_channel/PairingSession.cpp @@ -142,7 +142,7 @@ bool PairingSession::IsSessionEstablishmentInProgress() } Transport::SecureSession * secureSession = mSecureSessionHolder->AsSecureSession(); - return secureSession->IsPairing(); + return secureSession->IsEstablishing(); } void PairingSession::Clear()