From: Steven Barth Date: Wed, 10 Dec 2008 20:31:09 +0000 (+0000) Subject: Don't apply network configuration if user clicks on "Scan" button X-Git-Tag: 0.9.0~910 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8e62419bcbdc8d61de6baca241dd1d559c3a6735;p=oweals%2Fluci.git Don't apply network configuration if user clicks on "Scan" button --- diff --git a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua index 7327b9e1d..848130e2f 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))