diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-01-30 01:30:22 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-01-30 01:30:22 +0000 |
commit | 7433b822ba39fe21a7472d51ea6cce4480e73a8c (patch) | |
tree | 2f55b7a2f12640aa37e93f030058cf4210d5fde8 /modules/admin-full/luasrc | |
parent | b1b49f746aada0700e47658daeb62e8fa72044f3 (diff) |
modules/admin-full: fix wireless bridging from within wifi config page
Diffstat (limited to 'modules/admin-full/luasrc')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua | 2 |
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 |