summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-siitwizard/luasrc/model
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-12-26 04:51:56 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-12-26 04:51:56 +0000
commit7152c345411123cf5de2e29daf949884a9c0b905 (patch)
tree7ab39d1cc81dcd03e0c96c33cf96a183d4f82c0c /applications/luci-siitwizard/luasrc/model
parent1b23d79b3adfe33d71e0974e10276b4ea0d812c1 (diff)
applications/siitwizard: add sw_merge and txpower to wifi-iface config
Diffstat (limited to 'applications/luci-siitwizard/luasrc/model')
-rw-r--r--applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua b/applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua
index 12d9ff998d..c95b805f7b 100644
--- a/applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua
+++ b/applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua
@@ -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,