From cf3c2354155b3f556ad98b34438000a1aade535b Mon Sep 17 00:00:00 2001 From: Yaro Kasear Date: Fri, 2 May 2025 09:32:11 -0500 Subject: [PATCH] Fix channel tracking for clients by using packet channel if available --- listener.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: