Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/monitor/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ fn main_loop(report_tx: &broadcast::Sender<Report>, config: &Arc<Mutex<Config>>)
let lag = lag_filter.add(lag, dt, LAG_FILTER_RC);
let rssi = poll_rssi().map_or_else(
|err| {
tracing::debug!("Couldn't poll signal strength: {err}");
NO_WLAN_THRESHOLD as f64 * 1.25
},
|rssi| rssi as f64,
Expand All @@ -269,7 +268,6 @@ fn main_loop(report_tx: &broadcast::Sender<Report>, config: &Arc<Mutex<Config>>)

if sequence_number % SSID_POLLING_DIVIDER == 0 {
ssid = poll_ssid().unwrap_or_else(|err| {
tracing::debug!("Couldn't poll SSID: {err}");
String::new()
});
}
Expand Down
Loading