Remove redundant client-AP relationship guessing logic from packet handling

This commit is contained in:
Yaro Kasear 2025-05-01 10:18:16 -05:00
parent c12bdb80e3
commit 458c69cca4

View file

@ -89,12 +89,6 @@ def handle_packet(pkt):
if is_unicast(a2) and a2 not in aps: if is_unicast(a2) and a2 not in aps:
clients[a2] += 1 clients[a2] += 1
# === Guess client <-> AP relationships ===
if a1 in aps and a2:
ap_clients[a1].add(a2)
elif a2 in aps and a1:
ap_clients[a2].add(a1)
# Track clients talking to the same AP we're connected to # Track clients talking to the same AP we're connected to
if target_ap_bssid: if target_ap_bssid:
if a1 and a2: if a1 and a2: