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

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

Issue 1412283006: Translate 802.1x WEP ("Enterprise WEP") (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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_onc_to_shill.cc
diff --git a/chromeos/network/onc/onc_translator_onc_to_shill.cc b/chromeos/network/onc/onc_translator_onc_to_shill.cc
index f399d8b48f755fdc182de0b14a2199cbf1de537d..5b7adf18b0d962587aac471af21e10303a477df2 100644
--- a/chromeos/network/onc/onc_translator_onc_to_shill.cc
+++ b/chromeos/network/onc/onc_translator_onc_to_shill.cc
@@ -220,6 +220,10 @@ void LocalTranslator::TranslateWiFi() {
&security)) {
TranslateWithTableAndSet(security, kWiFiSecurityTable,
shill::kSecurityClassProperty);
+ if (security == ::onc::wifi::kWEP_8021X) {
+ shill_dictionary_->SetStringWithoutPathExpansion(
+ shill::kEapKeyMgmtProperty, ::onc::wifi::kKeyMgmtIEEE8021X);
+ }
}
// We currently only support managed and no adhoc networks.

Powered by Google App Engine
This is Rietveld 408576698