summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini/luasrc/model
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-12-10 20:31:09 +0000
committerSteven Barth <steven@midlink.org>2008-12-10 20:31:09 +0000
commit8e62419bcbdc8d61de6baca241dd1d559c3a6735 (patch)
tree7fd46c75604406c45cf8c785ad63344c2ff9c795 /modules/admin-mini/luasrc/model
parenta02f12cf2e2becfe976faa6ff1e5a585c78a513d (diff)
Don't apply network configuration if user clicks on "Scan" button
Diffstat (limited to 'modules/admin-mini/luasrc/model')
-rw-r--r--modules/admin-mini/luasrc/model/cbi/mini/wifi.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
index 7327b9e1db..848130e2ff 100644
--- a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
+++ b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
@@ -89,6 +89,7 @@ end
t2 = m:section(Table, {}, translate("iwscan"), translate("iwscan1"))
function scan.write(self, section)
+ self.map.autoapply = false
t2.render = t2._render
local ifname = self.map:get(section, "ifname")
luci.util.update(t2.data, luci.sys.wifi.iwscan(ifname))