| Index: chromeos/network/network_connection_handler.cc
|
| diff --git a/chromeos/network/network_connection_handler.cc b/chromeos/network/network_connection_handler.cc
|
| index 6d2bc5994c67a355d58def885264b131156366d0..a4e17edd33b042a94f66cdfe7de64c29a5862fa7 100644
|
| --- a/chromeos/network/network_connection_handler.cc
|
| +++ b/chromeos/network/network_connection_handler.cc
|
| @@ -91,7 +91,7 @@ std::string GetDefaultUserProfilePath(const NetworkState* network) {
|
| (LoginState::IsInitialized() &&
|
| !LoginState::Get()->UserHasNetworkProfile()) ||
|
| (network && network->type() == shill::kTypeWifi &&
|
| - network->security() == shill::kSecurityNone)) {
|
| + network->security_class() == shill::kSecurityNone)) {
|
| return NetworkProfileHandler::GetSharedProfilePath();
|
| }
|
| const NetworkProfile* profile =
|
| @@ -368,10 +368,10 @@ void NetworkConnectionHandler::VerifyConfiguredAndConnect(
|
| return;
|
| }
|
|
|
| - std::string type, security;
|
| + std::string type, security_class;
|
| service_properties.GetStringWithoutPathExpansion(shill::kTypeProperty, &type);
|
| service_properties.GetStringWithoutPathExpansion(
|
| - shill::kSecurityProperty, &security);
|
| + shill::kSecurityClassProperty, &security_class);
|
| bool connectable = false;
|
| service_properties.GetBooleanWithoutPathExpansion(
|
| shill::kConnectableProperty, &connectable);
|
| @@ -437,7 +437,8 @@ void NetworkConnectionHandler::VerifyConfiguredAndConnect(
|
| client_cert_type = client_cert::CONFIG_TYPE_IPSEC;
|
| }
|
| }
|
| - } else if (type == shill::kTypeWifi && security == shill::kSecurity8021x) {
|
| + } else if (type == shill::kTypeWifi &&
|
| + security_class == shill::kSecurity8021x) {
|
| client_cert_type = client_cert::CONFIG_TYPE_EAP;
|
| }
|
|
|
|
|