am 662c326e: Merge "Allow yet another combination of key management options" into klp-dev

* commit '662c326e5fc02fa11226de1267b7f60485f5638a':
  Allow yet another combination of key management options
This commit is contained in:
Vinit Deshapnde
2013-09-23 18:59:02 -07:00
committed by Android Git Automerger

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;
}
}