diff --git a/src/main.rs b/src/main.rs index 8798780..c40fa68 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2585,7 +2585,11 @@ fn main() -> Result<(), Box> { if (band, channel) == first_channel { hop_cycle += 1; } - if let Err(e) = set_interface_chan(idx, channel, band) { + if let Err(e) = oxide + .if_hardware + .netlink + .set_interface_chan(idx, channel, band) + { oxide.status_log.add_message(StatusMessage::new( MessageType::Error, format!("Channel Switch Error: {e:?}"),