Skip to content

Commit

Permalink
messing with channel setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ragnt committed Jan 28, 2024
1 parent 9b01279 commit fa2b9c6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2585,7 +2585,11 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
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:?}"),
Expand Down

0 comments on commit fa2b9c6

Please sign in to comment.