Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05d35416 authored by Chia-chi Yeh's avatar Chia-chi Yeh
Browse files

WifiSettings: do not set auth_alg for WPA/WPA2 networks.

Change-Id: Ib41a52d90ca8db3cb52aa1fb87e2433bb76f4de2
parent 9bb75d36
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -125,7 +125,6 @@ class WifiDialog extends AlertDialog implements View.OnClickListener,

            case AccessPoint.SECURITY_PSK:
                config.allowedKeyManagement.set(KeyMgmt.WPA_PSK);
                config.allowedAuthAlgorithms.set(AuthAlgorithm.OPEN);
                if (mPassword.length() != 0) {
                    String password = mPassword.getText().toString();
                    if (password.matches("[0-9A-Fa-f]{64}")) {