From eed55531107c6642efc0dc93211325d9b7318022 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 27 Sep 2009 03:04:36 +0000 Subject: [PATCH] modules/admin-full: fix some problems with b43 --- .../luasrc/view/admin_network/wifi_overview.htm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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 -- 2.25.1