mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
Fix WDS STA reassociation
If the STA entry is present in hostapd, but not in the kernel driver, its WDS status needs to be restored when the STA reassociates
This commit is contained in:
parent
3efb432952
commit
7826ceae91
@ -1659,6 +1659,9 @@ static void handle_assoc_cb(struct hostapd_data *hapd,
|
||||
"Could not add STA to kernel driver");
|
||||
}
|
||||
|
||||
if (sta->flags & WLAN_STA_WDS)
|
||||
hapd->drv.set_wds_sta(hapd, sta->addr, sta->aid, 1);
|
||||
|
||||
if (sta->eapol_sm == NULL) {
|
||||
/*
|
||||
* This STA does not use RADIUS server for EAP authentication,
|
||||
|
Loading…
Reference in New Issue
Block a user