Merge "Allow yet another combination of key management options" into klp-dev

This commit is contained in:
Vinit Deshapnde
2013-09-23 17:46:00 +00:00
committed by Android (Google) Code Review

View File

@@ -361,7 +361,8 @@ public class WifiConfiguration implements Parcelable {
if (allowedKeyManagement.get(KeyMgmt.WPA_EAP) == false) {
return false;
}
if (allowedKeyManagement.get(KeyMgmt.IEEE8021X) == false) {
if ((allowedKeyManagement.get(KeyMgmt.IEEE8021X) == false)
&& (allowedKeyManagement.get(KeyMgmt.WPA_PSK) == false)) {
return false;
}
}