fix(network): show missing WPA3-only networks
This commit is contained in:
parent
1139e34928
commit
f5f6d3e8f0
3 changed files with 11 additions and 11 deletions
|
|
@ -311,7 +311,7 @@ async fn start_listening(
|
|||
if identity.is_some() {
|
||||
NetworkType::EAP
|
||||
} else {
|
||||
NetworkType::PSK
|
||||
NetworkType::PskOrSae
|
||||
},
|
||||
interface.clone(),
|
||||
)
|
||||
|
|
@ -490,12 +490,12 @@ async fn start_listening(
|
|||
}
|
||||
t => {
|
||||
let (tx, rx) = tokio::sync::oneshot::channel();
|
||||
let setting_name = if matches!(t, NetworkType::PSK) {
|
||||
let setting_name = if matches!(t, NetworkType::PskOrSae) {
|
||||
"802-11-wireless-security"
|
||||
} else {
|
||||
"802-1x"
|
||||
};
|
||||
let pw_key = if matches!(t, NetworkType::PSK) {
|
||||
let pw_key = if matches!(t, NetworkType::PskOrSae) {
|
||||
"psk"
|
||||
} else {
|
||||
"password"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue