From 6dc868ea37b1d076a1bc3810dc589bdf061e7439 Mon Sep 17 00:00:00 2001 From: loviuz Date: Sat, 8 Aug 2020 13:05:21 +0200 Subject: [PATCH] Fix lettura potenza segnale --- readers/whoishere.py/whoishere.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readers/whoishere.py/whoishere.py b/readers/whoishere.py/whoishere.py index cb566dd..9266d77 100755 --- a/readers/whoishere.py/whoishere.py +++ b/readers/whoishere.py/whoishere.py @@ -95,7 +95,7 @@ def PrintInfo(pkt) : mac = " MAC: " + pkt.addr2 SSID = " SSID: " + pkt.info.ljust(maxlenght)[0:maxlenght] OUI = " OUI: "+ oui - db = -(256-ord(pkt.notdecoded[-4:-3])) + db = pkt.dBm_AntSignal if db <= -100: quality = 0 elif db >= -50: