diff --git a/files/www/cgi-bin/status b/files/www/cgi-bin/status index 70760700..692edbd8 100755 --- a/files/www/cgi-bin/status +++ b/files/www/cgi-bin/status @@ -50,6 +50,13 @@ $config = "not set" if $config eq "" or not -d "/etc/config.mesh"; ($junk, $wifi_channel) = &uci_get_named_option("wireless", "radio0", "channel"); ($junk, $wifi_chanbw) = &uci_get_named_option("wireless", "radio0", "chanbw"); +$wifi_ssid = "N/A"; +@wisections = &uci_get_all_indexed_by_sectiontype("wireless", "wifi-iface"); +foreach(@wisections) { + if ($_->{network} eq "wifi") { + $wifi_ssid = $_->{ssid}; + } +} read_postdata(); @@ -185,6 +192,9 @@ if($browser_ip) push @col1, $str . ""; } +$str = "SSID$wifi_ssid"; +push @col1, $str . ""; + $str = "Channel$wifi_channel"; push @col1, $str . "";