wifiConections() fix empty issue (mac OS)

This commit is contained in:
Sebastian Hildebrandt 2022-01-08 23:57:47 +01:00
parent 4ff5626571
commit 4df48ae1ac
4 changed files with 9 additions and 3 deletions

View File

@ -80,6 +80,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
| Version | Date | Comment |
| -------------- | -------------- | -------- |
| 5.9.18 | 2022-01-08 | `wifiConections()` fix empty issue (mac OS) |
| 5.9.17 | 2021-12-07 | `wifiNetworks()` fix empty issue (mac OS) |
| 5.9.16 | 2021-12-05 | `wifiNetworks()` adaption for Apple silicon (mac OS) |
| 5.9.15 | 2021-11-19 | `cpuCache()` fix (windows) |

View File

@ -57,6 +57,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">5.9.18</th>
<td>2022-01-08</td>
<td><span class="code">wifiConnections()</span> fix empty issue (mac OS)</td>
</tr>
<tr>
<th scope="row">5.9.17</th>
<td>2021-12-07</td>

View File

@ -170,7 +170,7 @@
<img class="logo" src="assets/logo.png">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div>
<div class="version">New Version: <span id="version">5.9.17</span></div>
<div class="version">New Version: <span id="version">5.9.18</span></div>
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
</div>
<div class="down">
@ -214,7 +214,7 @@
<div class="title">Downloads last month</div>
</div>
<div class="col-xl-4 col-lg-4 col-md-4 col-12">
<div class="numbers">489</div>
<div class="numbers">513</div>
<div class="title">Dependents</div>
</div>
</div>

View File

@ -575,7 +575,7 @@ function wifiConnections(callback) {
const noise = util.toInt(util.getValue(lines2, 'agrCtlNoise', ':', true));
const signalLevel = rssi - noise;
// const signal = wifiQualityFromDB(signalLevel);
if (ssid && bssid) {
if (ssid || bssid) {
result.push({
id: 'Wi-Fi',
iface,