Index: chromeos/network/network_connection_handler.cc |
diff --git a/chromeos/network/network_connection_handler.cc b/chromeos/network/network_connection_handler.cc |
index feb47297b17f857420200b87ab0132f9c1396085..dfcba54c2f219f3bc980787e23475a167308bd80 100644 |
--- a/chromeos/network/network_connection_handler.cc |
+++ b/chromeos/network/network_connection_handler.cc |
@@ -431,6 +431,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 |