Merge "[SettingsLib] Fix WPA2 security type string" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
45e2c22d7e
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user