File tree 1 file changed +2
-5
lines changed
src/protocols/secure_channel
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -86,11 +86,8 @@ void PairingSession::Finish()
86
86
event.SecureSessionEstablished .TransportType = to_underlying (address.GetTransportType ());
87
87
event.SecureSessionEstablished .SecureSessionType =
88
88
to_underlying (mSecureSessionHolder ->AsSecureSession ()->GetSecureSessionType ());
89
- if (mSecureSessionHolder ->AsSecureSession ()->GetSecureSessionType () == Transport::SecureSession::Type::kCASE )
90
- {
91
- event.SecureSessionEstablished .PeerNodeId = mSecureSessionHolder ->GetPeer ().GetNodeId ();
92
- event.SecureSessionEstablished .FabricIndex = mSecureSessionHolder ->GetPeer ().GetFabricIndex ();
93
- }
89
+ event.SecureSessionEstablished .PeerNodeId = mSecureSessionHolder ->GetPeer ().GetNodeId ();
90
+ event.SecureSessionEstablished .FabricIndex = mSecureSessionHolder ->GetPeer ().GetFabricIndex ();
94
91
if (DeviceLayer::PlatformMgr ().PostEvent (&event) != CHIP_NO_ERROR)
95
92
{
96
93
ChipLogError (SecureChannel, " Failed to post Secure Session established event" );
You can’t perform that action at this time.
0 commit comments