Remove redundant client-AP relationship guessing logic from packet handling
This commit is contained in:
parent
c12bdb80e3
commit
458c69cca4
1 changed files with 0 additions and 6 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue