mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-20 11:03:03 -05:00
Commit 4378fc14ebfb355705e7674bf347ea659bcd77bc started using QoS Data frames for QoS STAs. It used the correct flags value for WPA/RSN EAPOL-Key frames, but wrong flags for IEEE 802.1X EAPOL frames. The WPA_STA_WMM value used in driver_nl80211.c happens to be identical to WLAN_STA_ASSOC in sta->flags and this makes driver_nl80211.c try to use QoS header for all STAs. Fix this by properly converting the flags from WLAN_STA_* to WPA_STA_*. [Bug 426] Signed-hostap: Jouni Malinen <j@w1.fi>