Skip to content

Commit

Permalink
update toml and neli-wifi
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxVerevkin committed Sep 17, 2023
1 parent 8abd422 commit 1ed1a9f
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 8 deletions.
37 changes: 31 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ libpulse-binding = { version = "2.0", default-features = false, optional = true
log = "0.4"
maildir = { version = "0.6", optional = true }
neli = { version = "0.6", features = ["async"] }
neli-wifi = { version = "0.5", features = ["async"] }
neli-wifi = { version = "0.6", features = ["async"] }
nix = { version = "0.27", features = ["fs", "process"] }
nom = "7.1.2"
notmuch = { version = "0.8", optional = true }
Expand All @@ -59,7 +59,7 @@ signal-hook = "0.3"
signal-hook-tokio = { version = "0.3", features = ["futures-v0_3"] }
smart-default = "0.7"
swayipc-async = "2.0"
toml = "0.7"
toml = "0.8"
unicode-segmentation = "1.10.1"
wayrs-client = { version = "0.12", features = ["tokio"] }
wayrs-protocols = { version = "0.12", features = ["wlr-foreign-toplevel-management-unstable-v1"] }
Expand Down
5 changes: 5 additions & 0 deletions src/netlink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,11 @@ impl WifiInfo {
continue;
};

// TODO: are there any situations when there is more than one station?
let Some(ap) = ap.into_iter().next() else {
continue;
};

let bss = socket
.get_bss_info(index)
.await
Expand Down

0 comments on commit 1ed1a9f

Please sign in to comment.