modules/admin-full: save wireless uci as well after iface add
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 27 Oct 2009 21:42:04 +0000 (21:42 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 27 Oct 2009 21:42:04 +0000 (21:42 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/iface_add.lua

index 759a7c9bfb8a1269d42914252955b4ad48fbc9e6..93cdecac78518de8f3632cf4877bffee31031207 100644 (file)
@@ -91,6 +91,7 @@ function attachnet.write(self, section, value)
                        zone:add_network(net:name())
                end
 
+               uci:save("wireless")
                uci:save("network")
                uci:save("firewall")
                luci.http.redirect(luci.dispatcher.build_url("admin/network/network", net:name()))