Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Unified Diff: chromeos/network/onc/onc_translator_shill_to_onc.cc

Issue 788633003: chromeos networking: move from security to securityclass property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@local-master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chromeos/network/onc/onc_translator_shill_to_onc.cc
diff --git a/chromeos/network/onc/onc_translator_shill_to_onc.cc b/chromeos/network/onc/onc_translator_shill_to_onc.cc
index cfce26a3f5ce272033273e9ec667db0804dac24f..de48b462b3d9b20ef68593666dabfc67c3b00b9d 100644
--- a/chromeos/network/onc/onc_translator_shill_to_onc.cc
+++ b/chromeos/network/onc/onc_translator_shill_to_onc.cc
@@ -313,8 +313,9 @@ void ShillToONCTranslator::TranslateVPN() {
}
void ShillToONCTranslator::TranslateWiFiWithState() {
- TranslateWithTableAndSet(
- shill::kSecurityProperty, kWiFiSecurityTable, ::onc::wifi::kSecurity);
+ TranslateWithTableAndSet(shill::kSecurityClassProperty,
+ kWiFiSecurityTable,
+ ::onc::wifi::kSecurity);
std::string ssid = shill_property_util::GetSSIDFromProperties(
*shill_dictionary_, NULL /* ignore unknown encoding */);
if (!ssid.empty())

Powered by Google App Engine
This is Rietveld 408576698