Correct r3885

This commit is contained in:
Steven Barth 2008-12-10 23:17:52 +00:00
parent 8d007f3a1c
commit 4e8472ebbb

View file

@ -89,7 +89,7 @@ end
t2 = m:section(Table, {}, translate("iwscan"), translate("iwscan1")) t2 = m:section(Table, {}, translate("iwscan"), translate("iwscan1"))
function scan.write(self, section) function scan.write(self, section)
self.map.autoapply = false m.autoapply = false
t2.render = t2._render t2.render = t2._render
local ifname = self.map:get(section, "ifname") local ifname = self.map:get(section, "ifname")
luci.util.update(t2.data, luci.sys.wifi.iwscan(ifname)) luci.util.update(t2.data, luci.sys.wifi.iwscan(ifname))