From 7433b822ba39fe21a7472d51ea6cce4480e73a8c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 30 Jan 2011 01:30:22 +0000 Subject: [PATCH] modules/admin-full: fix wireless bridging from within wifi config page --- modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua index 62576ba1d..b9f9cd390 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua @@ -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 -- 2.25.1