FF-Wizard: assign matching network interface to wireless configuration
authorSteven Barth <steven@midlink.org>
Sun, 14 Sep 2008 00:14:36 +0000 (00:14 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 14 Sep 2008 00:14:36 +0000 (00:14 +0000)
applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua

index cdace2b73e230e974dbd686d4b5a06f642088273..dcde96249e09cb729154589cd3aa1247e9ca25e1 100644 (file)
@@ -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