Fix the incorrect keystore prefix of private key in the wpa_supplicant.conf.

Change-Id: Ibc77d10f6c945d274037422b2e4e58d1bbd9888d
This commit is contained in:
Chung-yih Wang
2010-03-23 12:15:33 +08:00
parent b1f83e4496
commit 141fe818f1

View File

@@ -146,7 +146,7 @@ class WifiDialog extends AlertDialog implements View.OnClickListener,
KEYSTORE_SPACE + Credentials.USER_CERTIFICATE +
(String) mEapUserCert.getSelectedItem());
config.private_key.setValue((mEapUserCert.getSelectedItemPosition() == 0) ? "" :
KEYSTORE_SPACE + Credentials.PRIVATE_KEY +
KEYSTORE_SPACE + Credentials.USER_PRIVATE_KEY +
(String) mEapUserCert.getSelectedItem());
config.identity.setValue((mEapIdentity.length() == 0) ? "" :
mEapIdentity.getText().toString());