projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a02f12c
)
Don't apply network configuration if user clicks on "Scan" button
author
Steven Barth
<steven@midlink.org>
Wed, 10 Dec 2008 20:31:09 +0000
(20:31 +0000)
committer
Steven Barth
<steven@midlink.org>
Wed, 10 Dec 2008 20:31:09 +0000
(20:31 +0000)
modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
patch
|
blob
|
history
diff --git
a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
index
7327b9e
..
848130e
100644
(file)
--- 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))