summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-11-21 07:59:56 +0000
committerSteven Barth <steven@midlink.org>2008-11-21 07:59:56 +0000
commit4f7c88139693a1fc58b936b18f20672ce73c56e8 (patch)
tree9d8fd04259aecb2d9d92285b6e6f5dbbf38f7805 /modules/admin-full
parent408e9d289db1b2f73e9de124d0f323f3869465af (diff)
Add ahdemo mode to mac80211
Diffstat (limited to 'modules/admin-full')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua1
1 files changed, 1 insertions, 0 deletions
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 3a52ef317..6d46a541f 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
@@ -161,6 +161,7 @@ bssid = s:option(Value, "bssid", translate("wifi_bssid"))
-------------------- MAC80211 Interface ----------------------
if hwtype == "mac80211" then
+ mode:value("ahdemo", translate("a_w_ahdemo"))
mode:value("monitor", translate("a_w_monitor"))
bssid:depends({mode="adhoc"})