Index: chromeos/network/network_connection_handler.cc |
diff --git a/chromeos/network/network_connection_handler.cc b/chromeos/network/network_connection_handler.cc |
index 8a239f00709fb589bbd55dd8f309e268660af877..f1805b4faac4547925b8c424ae8d282e9bad50ba 100644 |
--- a/chromeos/network/network_connection_handler.cc |
+++ b/chromeos/network/network_connection_handler.cc |
@@ -439,6 +439,12 @@ void NetworkConnectionHandler::VerifyConfiguredAndConnect( |
ErrorCallbackForPendingRequest(service_path, kErrorCertificateRequired); |
return; |
} |
+ } else if (check_error_state && |
+ !client_cert::IsCertificateConfigured(client_cert_type, |
+ service_properties)) { |
+ // Network may not be configured. |
+ ErrorCallbackForPendingRequest(service_path, kErrorConfigurationRequired); |
+ return; |
} |
// The network may not be 'Connectable' because the TPM properties are not |