diff options
author | Daniel Dickinson <openwrt@daniel.thecshore.com> | 2016-03-25 03:17:49 -0400 |
---|---|---|
committer | Daniel Dickinson <openwrt@daniel.thecshore.com> | 2016-03-25 03:17:54 -0400 |
commit | e54a68e26a11e057a90154a53c6eb4cab9d5dbca (patch) | |
tree | 5e4f25792a45c56dd140efb3d3cdf492f7d16923 /modules/luci-mod-admin-full | |
parent | 5b79e62c0a99bab8dfb8dce8124d9fecc11da54b (diff) |
luci-mod-admin-full: Add option to set wireless interface name
With mac80211 you can set the wireless interface;
expose this capability.
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
Diffstat (limited to 'modules/luci-mod-admin-full')
-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 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 |