Skip to content

Commit

Permalink
Settings: fix manually adding network
Browse files Browse the repository at this point in the history
Broken in ad-hoc support patch

Change-Id: I93bd4bfa9f37433235f19563225a2fc566713b5a
  • Loading branch information
pawitp authored and LorDClockaN committed Jun 12, 2012
1 parent 24df06a commit ca5cfda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/com/android/settings/wifi/WifiConfigController.java
Expand Up @@ -320,10 +320,11 @@ private void enableSubmitIfAppropriate() {
} else if (mAccessPoint.networkId == INVALID_NETWORK_ID) {
config.SSID = AccessPoint.convertToQuotedString(
mAccessPoint.ssid);
config.mode = mAccessPoint.mode;
} else {
config.networkId = mAccessPoint.networkId;
config.mode = mAccessPoint.mode;
}
config.mode = mAccessPoint.mode;

switch (mAccessPointSecurity) {
case AccessPoint.SECURITY_NONE:
Expand Down

0 comments on commit ca5cfda

Please sign in to comment.