am 533844d9: am c7388e35: am 5f1beda1: Merge "Make the SSID field of WifiConfiguration consistent with API description." into froyo
This commit is contained in:
@@ -872,7 +872,7 @@ public class WifiService extends IWifiManager.Stub {
|
|||||||
|
|
||||||
value = mWifiStateTracker.getNetworkVariable(netId, WifiConfiguration.ssidVarName);
|
value = mWifiStateTracker.getNetworkVariable(netId, WifiConfiguration.ssidVarName);
|
||||||
if (!TextUtils.isEmpty(value)) {
|
if (!TextUtils.isEmpty(value)) {
|
||||||
config.SSID = removeDoubleQuotes(value);
|
config.SSID = value;
|
||||||
} else {
|
} else {
|
||||||
config.SSID = null;
|
config.SSID = null;
|
||||||
}
|
}
|
||||||
@@ -1062,7 +1062,7 @@ public class WifiService extends IWifiManager.Stub {
|
|||||||
!mWifiStateTracker.setNetworkVariable(
|
!mWifiStateTracker.setNetworkVariable(
|
||||||
netId,
|
netId,
|
||||||
WifiConfiguration.ssidVarName,
|
WifiConfiguration.ssidVarName,
|
||||||
convertToQuotedString(config.SSID))) {
|
config.SSID)) {
|
||||||
if (DBG) {
|
if (DBG) {
|
||||||
Slog.d(TAG, "failed to set SSID: "+config.SSID);
|
Slog.d(TAG, "failed to set SSID: "+config.SSID);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user