Correct r3885
authorSteven Barth <steven@midlink.org>
Wed, 10 Dec 2008 23:17:15 +0000 (23:17 +0000)
committerSteven Barth <steven@midlink.org>
Wed, 10 Dec 2008 23:17:15 +0000 (23:17 +0000)
modules/admin-mini/luasrc/model/cbi/mini/wifi.lua

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