diff --git a/listener.py b/listener.py index c36cf29..2f7fa4b 100755 --- a/listener.py +++ b/listener.py @@ -115,7 +115,8 @@ def handle_packet(pkt): # Track channel seen on if pkt.haslayer(RadioTap) and hasattr(pkt[RadioTap], 'ChannelFrequency'): # Nah, be lazy - bssid_channels[a2] = current_channel + if packet_channel: + bssid_channels[a2] = packet_channel # === Track all seen clients === if dot11.type == 2: