summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/WifiService.java
diff options
context:
space:
mode:
authorChung-yih Wang <cywang@google.com>2010-05-15 11:03:30 +0800
committerChung-yih Wang <cywang@google.com>2010-05-15 11:03:30 +0800
commit047076d170c5a94415b5abc9c9a220840639c283 (patch)
tree6bbdc88390d0ce2a9dbc628a095e0911c7ba7811 /services/java/com/android/server/WifiService.java
parenteb9128f9b0ee660504621381fd96f82d5bf8a3fd (diff)
downloadframeworks_base-047076d170c5a94415b5abc9c9a220840639c283.zip
frameworks_base-047076d170c5a94415b5abc9c9a220840639c283.tar.gz
frameworks_base-047076d170c5a94415b5abc9c9a220840639c283.tar.bz2
Make the SSID field of WifiConfiguration consistent with API description.
Bug id http://b/issue?id=2684571 Change-Id: I809478991ba606252d69ef007339754ab2856416
Diffstat (limited to 'services/java/com/android/server/WifiService.java')
-rw-r--r--services/java/com/android/server/WifiService.java4
1 files changed, 2 insertions, 2 deletions
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);
}