Fix lettura potenza segnale

This commit is contained in:
loviuz 2020-08-08 13:05:21 +02:00
parent 8ee8cc64f2
commit 6dc868ea37
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ def PrintInfo(pkt) :
mac = " MAC: " + pkt.addr2 mac = " MAC: " + pkt.addr2
SSID = " SSID: " + pkt.info.ljust(maxlenght)[0:maxlenght] SSID = " SSID: " + pkt.info.ljust(maxlenght)[0:maxlenght]
OUI = " OUI: "+ oui OUI = " OUI: "+ oui
db = -(256-ord(pkt.notdecoded[-4:-3])) db = pkt.dBm_AntSignal
if db <= -100: if db <= -100:
quality = 0 quality = 0
elif db >= -50: elif db >= -50: