applications/siitwizard: add sw_merge and txpower to wifi-iface config
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 26 Dec 2008 04:51:56 +0000 (04:51 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 26 Dec 2008 04:51:56 +0000 (04:51 +0000)
applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua

index 12d9ff9..c95b805 100644 (file)
@@ -161,6 +161,8 @@ function mode.write(self, section, value)
        uci:section("wireless", "wifi-iface", nil, {
                encryption = "none",
                mode       = "adhoc",
        uci:section("wireless", "wifi-iface", nil, {
                encryption = "none",
                mode       = "adhoc",
+               txpower    = 10,
+               sw_merge   = 1,
                network    = wifi_device,
                device     = wifi_device,
                ssid       = wifi_essid,
                network    = wifi_device,
                device     = wifi_device,
                ssid       = wifi_essid,