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

Commit 128b0f14 authored by Hai Shalom's avatar Hai Shalom Committed by android-build-merger
Browse files

Merge "[SettingsLib] Fix WPA2 security type string" into qt-dev

am: 45e2c22d

Change-Id: I617a85d47514ac12b16a43e4ac139c4c849e45b1
parents 4939068d 45e2c22d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1460,7 +1460,7 @@ public class AccessPoint implements Comparable<AccessPoint> {

    private static int getPskType(ScanResult result) {
        boolean wpa = result.capabilities.contains("WPA-PSK");
        boolean wpa2 = result.capabilities.contains("WPA2-PSK");
        boolean wpa2 = result.capabilities.contains("RSN-PSK");
        if (wpa2 && wpa) {
            return PSK_WPA_WPA2;
        } else if (wpa2) {