diff --git a/CHANGELOG.md b/CHANGELOG.md index 9584ecf..a2cbebe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) | diff --git a/docs/history.html b/docs/history.html index b5d19d0..2ff2157 100644 --- a/docs/history.html +++ b/docs/history.html @@ -57,6 +57,11 @@ + + 5.9.18 + 2022-01-08 + wifiConnections() fix empty issue (mac OS) + 5.9.17 2021-12-07 diff --git a/docs/index.html b/docs/index.html index 651b383..7dfe169 100644 --- a/docs/index.html +++ b/docs/index.html @@ -170,7 +170,7 @@
systeminformation
 
-
New Version: 5.9.17
+
New Version: 5.9.18
@@ -214,7 +214,7 @@
Downloads last month
-
489
+
513
Dependents
diff --git a/lib/wifi.js b/lib/wifi.js index c90bf44..f3b6ea8 100644 --- a/lib/wifi.js +++ b/lib/wifi.js @@ -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,