summaryrefslogtreecommitdiffstats
path: root/chromeos/test
diff options
context:
space:
mode:
authorpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-22 15:30:36 +0000
committerpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-22 15:30:36 +0000
commit97f252cffc50d6751b1e6bc1ef2fac7c519c1681 (patch)
tree02f0817e34dca490ea900eb972b227a772cc7dfc /chromeos/test
parent139e21b4cc0ca376b3fdcd13821e924513f5eca7 (diff)
downloadchromium_src-97f252cffc50d6751b1e6bc1ef2fac7c519c1681.zip
chromium_src-97f252cffc50d6751b1e6bc1ef2fac7c519c1681.tar.gz
chromium_src-97f252cffc50d6751b1e6bc1ef2fac7c519c1681.tar.bz2
Add translation of Shill's security type "wpa" to ONC.
In certain cases, Shill reports the security type ( flimflam::kSecurityProperty) of a WiFi endpoint. That type can be flimflam::kSecurityWpa and isn't handled correctly by the translation to ONC, which in turn is used by the networkingPrivateAPI and the network policy implementation. This commit adds the missing translation. BUG=277417 Review URL: https://chromiumcodereview.appspot.com/23390002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219024 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/test')
-rw-r--r--chromeos/test/data/network/shill_wifi_wpa1.json9
-rw-r--r--chromeos/test/data/network/translation_of_shill_wifi_wpa1.onc10
2 files changed, 19 insertions, 0 deletions
diff --git a/chromeos/test/data/network/shill_wifi_wpa1.json b/chromeos/test/data/network/shill_wifi_wpa1.json
new file mode 100644
index 0000000..2d92618
--- /dev/null
+++ b/chromeos/test/data/network/shill_wifi_wpa1.json
@@ -0,0 +1,9 @@
+{
+ "GUID":"{64c4f86b-cf6a-4e4a-8eff-456def}",
+ "Mode":"managed",
+ "Name":"OpenWrt",
+ "Passphrase":"some passphrase",
+ "SSID":"OpenWrt",
+ "Security":"wpa",
+ "Type":"wifi"
+}
diff --git a/chromeos/test/data/network/translation_of_shill_wifi_wpa1.onc b/chromeos/test/data/network/translation_of_shill_wifi_wpa1.onc
new file mode 100644
index 0000000..c23df0f
--- /dev/null
+++ b/chromeos/test/data/network/translation_of_shill_wifi_wpa1.onc
@@ -0,0 +1,10 @@
+{
+ "GUID":"{64c4f86b-cf6a-4e4a-8eff-456def}",
+ "Name":"OpenWrt",
+ "Type":"WiFi",
+ "WiFi":{
+ "Passphrase":"some passphrase",
+ "SSID":"OpenWrt",
+ "Security":"WPA-PSK"
+ }
+}