From 746a5be1a896424b6e7db2cd0df107cb847831a8 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 23 Jul 2012 08:53:50 +0000 Subject: [PATCH] modules/admin-full: expose wmm option for mac80211 interfaces --- modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua index d57c91f205..e65dce4135 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua @@ -507,6 +507,11 @@ if hwtype == "mac80211" then hidden = s:taboption("general", Flag, "hidden", translate("Hide ESSID")) hidden:depends({mode="ap"}) hidden:depends({mode="ap-wds"}) + + wmm = s:taboption("general", Flag, "wmm", translate("WMM Mode")) + wmm:depends({mode="ap"}) + wmm:depends({mode="ap-wds"}) + wmm.default = wmm.enabled end -- 2.30.2