modules/admin-full: add support for the probereq iwpriv param
[project/luci.git] / modules / admin-full / luasrc / model / cbi / admin_network / wifi.lua
index 0ed725b613c2b74e5f15e3d0ba651851ed49a871..dd3e5eda3feefadd46e598b9c97f96f1c9949825 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