Skip to content

Commit

Permalink
DirectedGraphMedium.java: Store concurrently transmitting radios as i…
Browse files Browse the repository at this point in the history
…nterfered
  • Loading branch information
kkrentz committed Jan 14, 2024
1 parent fdb7091 commit 0f5ec55
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,12 @@ protected RadioConnection createConnections(Radio source) {
newConn.addInterfered(dest.radio);
continue;
}


if (dest.radio.isTransmitting()) {
newConn.addInterfered(dest.radio);
continue;
}

if (dest.radio.isReceiving()) {
/* Fail: radio is already actively receiving */
/*logger.info(source + ": Fail, receiving");*/
Expand Down

0 comments on commit 0f5ec55

Please sign in to comment.