Add the auth_alg field back.
This change is to fix the issue http://b/issue?id=2161539. The auth_alg field is required for auth. type 'SHARED' with WEP mode, it will not be automatically selected as claimed. The change has been verified on Linksys WRT54G.
This commit is contained in:
@@ -546,6 +546,8 @@ public final class AccessPointState implements Comparable<AccessPointState>, Par
|
||||
: mPassword;
|
||||
}
|
||||
}
|
||||
config.allowedAuthAlgorithms.set(AuthAlgorithm.OPEN);
|
||||
config.allowedAuthAlgorithms.set(AuthAlgorithm.SHARED);
|
||||
config.allowedKeyManagement.set(KeyMgmt.NONE);
|
||||
config.wepTxKeyIndex = 0;
|
||||
} else if (security.equals(PSK)){
|
||||
|
Reference in New Issue
Block a user