summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-admin-full
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2016-03-29 15:44:48 +0300
committerHannu Nyman <hannu.nyman@iki.fi>2016-03-29 15:44:48 +0300
commit854dd6691709cd3c3a628f2453fa4733bbe0875f (patch)
treee0e2e8902a1c706790504d9b6305e04c00681470 /modules/luci-mod-admin-full
parent315a54b89cd9953199bf46a04c153070aae8f408 (diff)
parente54a68e26a11e057a90154a53c6eb4cab9d5dbca (diff)
Merge pull request #681 from cshore/pull-request-wifi-interface-name
luci-mod-admin-full: Add option to set wireless interface name
Diffstat (limited to 'modules/luci-mod-admin-full')
-rw-r--r--modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua
index 9db42e3c4..945512e09 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua
+++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua
@@ -475,6 +475,9 @@ if hwtype == "mac80211" then
wmm:depends({mode="ap"})
wmm:depends({mode="ap-wds"})
wmm.default = wmm.enabled
+
+ ifname = s:taboption("advanced", Value, "ifname", translate("Interface name"), translate("Override default interface name"))
+ ifname.optional = true
end