luci-0.10: merge r6832
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 30 Jan 2011 01:30:54 +0000 (01:30 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 30 Jan 2011 01:30:54 +0000 (01:30 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua

index 62576ba1daeacc274e500776d703121aa333621c..b9f9cd390eda5d54787e5b58670d2576f22a8b02 100644 (file)
@@ -322,7 +322,7 @@ function network.write(self, section, value)
                else
                        local n = nw:get_network(value)
                        if n then
-                               n:type("bridge")
+                               n:set("type", "bridge")
                                n:add_interface(i)
                        end
                end