From 8e62419bcbdc8d61de6baca241dd1d559c3a6735 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 10 Dec 2008 20:31:09 +0000 Subject: [PATCH] Don't apply network configuration if user clicks on "Scan" button --- modules/admin-mini/luasrc/model/cbi/mini/wifi.lua | 1 + 1 file changed, 1 insertion(+) 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)) -- 2.30.2