提交 e7d32b47 编写于 作者: M Manuel Munz

luci-0.10: Merge r7886

上级 51dc9425
......@@ -42,7 +42,7 @@ luci.i18n.loadc("freifunk")
<% uci:foreach("wireless", "wifi-device", function(section)
local device = section[".name"]
local url = luci.dispatcher.build_url(luci.dispatcher.context.path[1], "network", "wireless")
if section.diversity ~= "0" and section.disabled ~= "1" then
if section.diversity ~= "0" and section.disabled ~= "1" and section.type ~= "mac80211" then
print('<div class="error">' .. translate("Diversity is enabled for device") .. ' <b>' .. device .. '</b>. '
.. translate("Go to") .. ' <a href="' .. url .. '">' .. translate("wireless settings") .. '</a> ' ..
translate("to disable it.") .. '</div><p />')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册