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 12d9ff998d95ee7079e283a12686b44d554b8f7b..c95b805f7b13442e728376f2909276375c358527 100644 (file)
@@ -161,6 +161,8 @@ function mode.write(self, section, value)
        uci:section("wireless", "wifi-iface", nil, {
                encryption = "none",
                mode       = "adhoc",
+               txpower    = 10,
+               sw_merge   = 1,
                network    = wifi_device,
                device     = wifi_device,
                ssid       = wifi_essid,