modules/admin-full: add support for the probereq iwpriv param
[project/luci.git] / modules / admin-full / luasrc / model / cbi / admin_network / wifi.lua
index 0ed725b..dd3e5ed 100644 (file)
@@ -234,6 +234,11 @@ if hwtype == "atheros" then
        local nos = s:option(Flag, "nosbeacon", translate("wifi_nosbeacon"))
        nos:depends({mode="sta"})
        nos.optional = true
+
+       local probereq = s:option(Flag, "probereq", translate("wifi_noprobereq"))
+       probereq.optional = true
+       probereq.enabled  = "0"
+       probereq.disabled = "1"
 end