[libnma/lr/no-wep-by-default: 1/2] wifi-dialog: switch default for Ad-Hoc from WEP to WPA2
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libnma/lr/no-wep-by-default: 1/2] wifi-dialog: switch default for Ad-Hoc from WEP to WPA2
- Date: Tue, 7 Jun 2022 14:35:08 +0000 (UTC)
commit a59c355a2afd9cbdf94dc83db1eba527c7875871
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Tue Jun 7 16:26:03 2022 +0200
wifi-dialog: switch default for Ad-Hoc from WEP to WPA2
WEP is going away. WPA2 should be ubiquitous by now, attempt to use it
by default for Ad-Hoc network.
Paleolithic and early neolithic wireless adapters will fall back to "None",
which is probably as good as WEP these days.
src/nma-wifi-dialog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/nma-wifi-dialog.c b/src/nma-wifi-dialog.c
index ea1127a9..33181a93 100644
--- a/src/nma-wifi-dialog.c
+++ b/src/nma-wifi-dialog.c
@@ -915,7 +915,7 @@ security_combo_init (NMAWifiDialog *self, gboolean secrets_only,
wep_type = NM_WEP_KEY_TYPE_KEY;
}
} else if (mode == NM_802_11_MODE_ADHOC) {
- default_type = NMU_SEC_STATIC_WEP;
+ default_type = NMU_SEC_WPA2_PSK;
wep_type = NM_WEP_KEY_TYPE_PASSPHRASE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]