libs/iwinfo: fix dummy scanresults
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 26 Sep 2009 13:58:36 +0000 (13:58 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 26 Sep 2009 13:58:36 +0000 (13:58 +0000)
libs/iwinfo/src/dummy.lua

index bcd294b7df14bf00e0a1a4282d876c539209fd46..45bf047fa5d0cd2fea3cb56437106eb70d40cc72 100644 (file)
@@ -74,13 +74,13 @@ function dummy.scanlist()
                  channel = 1, mode = "Master", wep = true },
                { quality = 45, quality_max = 70, signal = -43,
                  bssid = "01:23:34:45:56:67", ssid = "Test_Net_2",
-                 channel = 10, mode = "Master", wep = false, wpa_version = 3,
+                 channel = 10, mode = "Master", wep = false, wpa = 3,
                  pair_ciphers = { "TKIP", "CCMP" },
                  group_ciphers = { "TKIP", "CCMP" },
                  auth_suites = { "PSK" } },
                { quality = 5, quality_max = 70, signal = -77,
                  bssid = "02:34:45:56:67:78", ssid = "Test_Net_3",
-                 channel = 3, mode = "Master", wep = false, wpa_version = 1,
+                 channel = 3, mode = "Master", wep = false, wpa = 1,
                  pair_ciphers = { "TKIP" },
                  group_ciphers = { "TKIP" },
                  auth_suites = { "PSK" } },