[libnma/lr/no-wep-by-default: 2/3] wifi-dialog: switch default for Ad-Hoc from WEP to WPA2




commit 91ca7f387d38ea4c024ce463bad3677bae146b8f
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]