From 047076d170c5a94415b5abc9c9a220840639c283 Mon Sep 17 00:00:00 2001 From: Chung-yih Wang Date: Sat, 15 May 2010 11:03:30 +0800 Subject: Make the SSID field of WifiConfiguration consistent with API description. Bug id http://b/issue?id=2684571 Change-Id: I809478991ba606252d69ef007339754ab2856416 --- services/java/com/android/server/WifiService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'services/java/com/android/server/WifiService.java') diff --git a/services/java/com/android/server/WifiService.java b/services/java/com/android/server/WifiService.java index c0a4491..8d6ad93 100644 --- a/services/java/com/android/server/WifiService.java +++ b/services/java/com/android/server/WifiService.java @@ -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); } -- cgit v1.1