From: Jo-Philipp Wich Date: Sun, 27 Sep 2009 03:04:36 +0000 (+0000) Subject: modules/admin-full: fix some problems with b43 X-Git-Tag: 0.10.0~1127 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=eed55531107c6642efc0dc93211325d9b7318022;ds=sidebyside modules/admin-full: fix some problems with b43 --- diff --git a/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm b/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm index 580fe9abe..72fe39ea3 100644 --- a/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm +++ b/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm @@ -65,7 +65,7 @@ $Id$ -- dunno yet else - return "Unkown 802.11 Wireless Controller" + return "Generic 802.11 Wireless Controller" end end @@ -160,8 +160,10 @@ $Id$ .png" style="float:left; margin-right:10px" /> <%=state.hwname%> (<%=dev%>)
- Channel: <%=find_wifi_frequency(state)%> | - Bitrate: <%=(state and state.networks[1]) and (state.networks[1].info.bitrate / 1000) .. " Mb/s" or "n/a"%> + <% if state.networks[1] and state.networks[1].info then %> + Channel: <%=find_wifi_frequency(state)%> | + Bitrate: <%=state.networks[1].info.bitrate and (state.networks[1].info.bitrate / 1000) .. " Mb/s" or "n/a"%> + <% end %> Find and join network @@ -176,14 +178,14 @@ $Id$ -
+
<%=percent_wifi_signal(net.info)%>% SSID: <%=utl.pcdata(net.info.ssid)%> | Mode: <%=net.info.mode%>
BSSID: <%=net.info.bssid%> | - Encryption: <%=net.info.enctype%> + Encryption: <%=net.info.enctype or "None"%> Edit this network