diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2016-03-29 15:44:48 +0300 |
---|---|---|
committer | Hannu Nyman <hannu.nyman@iki.fi> | 2016-03-29 15:44:48 +0300 |
commit | 854dd6691709cd3c3a628f2453fa4733bbe0875f (patch) | |
tree | e0e2e8902a1c706790504d9b6305e04c00681470 /modules/luci-mod-admin-full/luasrc | |
parent | 315a54b89cd9953199bf46a04c153070aae8f408 (diff) | |
parent | e54a68e26a11e057a90154a53c6eb4cab9d5dbca (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/luasrc')
-rw-r--r-- | modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua | 3 |
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 9db42e3c4e..945512e094 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 |