summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-14 00:14:36 +0000
committerSteven Barth <steven@midlink.org>2008-09-14 00:14:36 +0000
commit014b6b9b6310d412ed40d32fb556abe9c676e2a1 (patch)
tree0f2c9207ecd124c2d1b30286fb2be2af3a1e43e2
parentd688dad6115cf4b40ee44b35cc391537b71fabd1 (diff)
FF-Wizard: assign matching network interface to wireless configuration
-rw-r--r--applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
index cdace2b73e..dcde96249e 100644
--- a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
+++ b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
@@ -156,6 +156,7 @@ function main.write(self, section, value)
-- Create wifi iface
local ifconfig = _strip_internals(uci:get_all("freifunk", "wifi_iface"))
ifconfig.device = device
+ ifconfig.network = device
uci:section("wireless", "wifi-iface", nil, ifconfig)
-- Save wifi