Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: project-chip/rs-matter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0fb03000b1d273f59002b64a7da19ef96a15d9fb
Choose a base ref
..
head repository: project-chip/rs-matter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7f4e437c2307e3630eba165ba013c02028ef2abb
Choose a head ref
Showing with 2 additions and 1 deletion.
  1. +2 −1 rs-matter/src/transport/network/btp/context.rs
3 changes: 2 additions & 1 deletion rs-matter/src/transport/network/btp/context.rs
Original file line number Diff line number Diff line change
@@ -292,7 +292,8 @@ where
.find(|session| session.address() == address)
{
if !session.set_subscribed() {
unreachable!();
warn!("Got a second subscribe request for an address which is already subscribed: {address}");
Err(ErrorCode::InvalidState)?;
}

self.handshake_notif.notify();