From: Manuel Munz Date: Sun, 6 Nov 2011 17:16:06 +0000 (+0000) Subject: luci-0.10: Merge r7886 X-Git-Tag: 0.10.0~47 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=e7d32b47e871f5d066f7acae179ac0c47f1a27aa;p=project%2Fluci.git luci-0.10: Merge r7886 --- diff --git a/modules/freifunk/luasrc/view/freifunk/adminindex.htm b/modules/freifunk/luasrc/view/freifunk/adminindex.htm index 4fcc16ccd2..48e7d8beee 100644 --- a/modules/freifunk/luasrc/view/freifunk/adminindex.htm +++ b/modules/freifunk/luasrc/view/freifunk/adminindex.htm @@ -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('
' .. translate("Diversity is enabled for device") .. ' ' .. device .. '. ' .. translate("Go to") .. ' ' .. translate("wireless settings") .. ' ' .. translate("to disable it.") .. '

')