Merge "Allow yet another combination of key management options" into klp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
662c326e5f
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user