projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add station tracking based on other management frame subtypes
[mech_eap.git]
/
src
/
ap
/
ieee802_11.c
diff --git
a/src/ap/ieee802_11.c
b/src/ap/ieee802_11.c
index
78355d6
..
19c6a12
100644
(file)
--- a/
src/ap/ieee802_11.c
+++ b/
src/ap/ieee802_11.c
@@
-2335,6
+2335,9
@@
int ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len,
return 0;
}
+ if (hapd->iconf->track_sta_max_num)
+ sta_track_add(hapd->iface, mgmt->sa);
+
switch (stype) {
case WLAN_FC_STYPE_AUTH:
wpa_printf(MSG_DEBUG, "mgmt::auth");