Merge "Make the SSID field of WifiConfiguration consistent with API description." into froyo

This commit is contained in:
Chung-yih Wang
2010-05-14 23:15:04 -07:00
committed by Android (Google) Code Review

View File

@@ -872,7 +872,7 @@ public class WifiService extends IWifiManager.Stub {
value = mWifiStateTracker.getNetworkVariable(netId, WifiConfiguration.ssidVarName);
if (!TextUtils.isEmpty(value)) {
config.SSID = removeDoubleQuotes(value);
config.SSID = value;
} else {
config.SSID = null;
}
@@ -1062,7 +1062,7 @@ public class WifiService extends IWifiManager.Stub {
!mWifiStateTracker.setNetworkVariable(
netId,
WifiConfiguration.ssidVarName,
convertToQuotedString(config.SSID))) {
config.SSID)) {
if (DBG) {
Slog.d(TAG, "failed to set SSID: "+config.SSID);
}