* luci-0.8: backport olsr and wireless scheme fixes
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 22 Sep 2008 19:01:17 +0000 (19:01 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 22 Sep 2008 19:01:17 +0000 (19:01 +0000)
applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua
libs/uvl/root/lib/uci/schema/default/wireless

index a5b6b12..632a4d4 100644 (file)
@@ -20,8 +20,8 @@ for i, sect in ipairs({ "Hna4", "Hna6" }) do
        hna.anonymous = true
        hna.template  = "cbi/tblsection"
 
-       net = hna:option(Value, "NetAddr")
-       msk = hna:option(Value, "Prefix")
+       net = hna:option(Value, "netaddr")
+       msk = hna:option(Value, "netmask")
 end
 
 return mh
index 3b4fb6f..823ee2f 100644 (file)
@@ -170,6 +170,12 @@ config section
        option title 'Interfaces'
 
 config variable
+       option name 'device'
+       option section 'wireless.wifi-iface'
+       option title 'Wifi Device'
+       option valueof 'wireless.wifi-device'
+
+config variable
        option name 'ssid'
        option section 'wireless.wifi-iface'
        option title 'ESSID'