From: Steven Barth Date: Fri, 21 Nov 2008 07:59:56 +0000 (+0000) Subject: Add ahdemo mode to mac80211 X-Git-Tag: 0.9.0~960 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4f7c88139693a1fc58b936b18f20672ce73c56e8;p=oweals%2Fluci.git Add ahdemo mode to mac80211 --- 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"})