From: Steven Barth Date: Sun, 14 Sep 2008 00:14:36 +0000 (+0000) Subject: FF-Wizard: assign matching network interface to wireless configuration X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=014b6b9b6310d412ed40d32fb556abe9c676e2a1;p=openwrt-luci.git FF-Wizard: assign matching network interface to wireless configuration --- 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