| Index: chromeos/network/network_state.cc
|
| diff --git a/chromeos/network/network_state.cc b/chromeos/network/network_state.cc
|
| index c71c1798a1be9828f1a3b33053e7e45601c4b69a..e191b139e77c0f3206d6f04874a59d85b4f0dd52 100644
|
| --- a/chromeos/network/network_state.cc
|
| +++ b/chromeos/network/network_state.cc
|
| @@ -106,8 +106,8 @@ bool NetworkState::PropertyChanged(const std::string& key,
|
| return false;
|
| return olp->GetStringWithoutPathExpansion(shill::kPaymentPortalURL,
|
| &payment_url_);
|
| - } else if (key == shill::kSecurityProperty) {
|
| - return GetStringValue(key, value, &security_);
|
| + } else if (key == shill::kSecurityClassProperty) {
|
| + return GetStringValue(key, value, &security_class_);
|
| } else if (key == shill::kEapMethodProperty) {
|
| return GetStringValue(key, value, &eap_method_);
|
| } else if (key == shill::kNetworkTechnologyProperty) {
|
| @@ -186,8 +186,8 @@ void NetworkState::GetStateProperties(base::DictionaryValue* dictionary) const {
|
|
|
| // Properties shared by all types.
|
| dictionary->SetStringWithoutPathExpansion(shill::kGuidProperty, guid());
|
| - dictionary->SetStringWithoutPathExpansion(shill::kSecurityProperty,
|
| - security());
|
| + dictionary->SetStringWithoutPathExpansion(shill::kSecurityClassProperty,
|
| + security_class());
|
|
|
| if (visible()) {
|
| if (!error().empty())
|
| @@ -318,7 +318,7 @@ std::string NetworkState::GetSpecifier() const {
|
| return std::string();
|
| }
|
| if (type() == shill::kTypeWifi)
|
| - return name() + "_" + security_;
|
| + return name() + "_" + security_class_;
|
| if (!name().empty())
|
| return name();
|
| return type(); // For unnamed networks such as ethernet.
|
|
|