update bad-disk.js

This commit is contained in:
zefie
2022-12-01 07:45:20 -05:00
parent 2975550ad0
commit b437d99f91
2 changed files with 28 additions and 4 deletions

View File

@@ -428,8 +428,9 @@ class WTVShared {
return ssid_obj;
}
getManufacturer(ssid) {
return parseSSID(ssid).manufacturer || null;
getManufacturer(ssid, bit = false) {
if (bit) return ssid.substring(8, 10).toUpperCase();
else return this.parseSSID(ssid).manufacturer || null;
}