Push down the supplicant-specific double-quote handling to framework.

So we are able to connect to AP with ssid containing double-quotes.
This commit is contained in:
Chung-yih Wang
2009-10-09 11:29:45 +08:00
parent 5204b662a0
commit a5b7b45b6f
2 changed files with 14 additions and 22 deletions

View File

@@ -749,7 +749,6 @@ public class WifiLayer {
// We already know about this one
continue;
}
ap = new AccessPointState(mContext);
ap.updateFromWifiConfiguration(config);
if (LOGV) Log.v(TAG, "Created " + ap + " in loadConfiguredAccessPoints");
@@ -1152,7 +1151,7 @@ public class WifiLayer {
continue;
}
final String ssid = AccessPointState.convertToQuotedString(scanResult.SSID);
final String ssid = scanResult.SSID;
String security = AccessPointState.getScanResultSecurity(scanResult);
// See if this AP is part of a group of APs (e.g., any large