summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua2
1 files changed, 1 insertions, 1 deletions
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 62576ba1da..b9f9cd390e 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