Skip to content

Commit 5f1beda

Browse files
Chung-yih WangAndroid (Google) Code Review
authored andcommitted
Merge "Make the SSID field of WifiConfiguration consistent with API description." into froyo
2 parents aa77de1 + 047076d commit 5f1beda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/java/com/android/server/WifiService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ private void readNetworkVariables(WifiConfiguration config) {
872872

873873
value = mWifiStateTracker.getNetworkVariable(netId, WifiConfiguration.ssidVarName);
874874
if (!TextUtils.isEmpty(value)) {
875-
config.SSID = removeDoubleQuotes(value);
875+
config.SSID = value;
876876
} else {
877877
config.SSID = null;
878878
}
@@ -1062,7 +1062,7 @@ public int addOrUpdateNetwork(WifiConfiguration config) {
10621062
!mWifiStateTracker.setNetworkVariable(
10631063
netId,
10641064
WifiConfiguration.ssidVarName,
1065-
convertToQuotedString(config.SSID))) {
1065+
config.SSID)) {
10661066
if (DBG) {
10671067
Slog.d(TAG, "failed to set SSID: "+config.SSID);
10681068
}

0 commit comments

Comments
 (0)