mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-18 02:44:03 -05:00
mesh: Accept Action frames without BSSID match
[original patch by: Thomas Pedersen <thomas@noack.us>] Signed-off-by: Bob Copeland <me@bobcopeland.com>
This commit is contained in:
parent
07cb45ccb2
commit
f3e9899e02
@ -1774,6 +1774,9 @@ int ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len,
|
|||||||
!((hapd->conf->p2p & P2P_GROUP_OWNER) &&
|
!((hapd->conf->p2p & P2P_GROUP_OWNER) &&
|
||||||
stype == WLAN_FC_STYPE_ACTION) &&
|
stype == WLAN_FC_STYPE_ACTION) &&
|
||||||
#endif /* CONFIG_P2P */
|
#endif /* CONFIG_P2P */
|
||||||
|
#ifdef CONFIG_MESH
|
||||||
|
!(hapd->conf->mesh & MESH_ENABLED) &&
|
||||||
|
#endif /* CONFIG_MESH */
|
||||||
os_memcmp(mgmt->bssid, hapd->own_addr, ETH_ALEN) != 0) {
|
os_memcmp(mgmt->bssid, hapd->own_addr, ETH_ALEN) != 0) {
|
||||||
wpa_printf(MSG_INFO, "MGMT: BSSID=" MACSTR " not our address",
|
wpa_printf(MSG_INFO, "MGMT: BSSID=" MACSTR " not our address",
|
||||||
MAC2STR(mgmt->bssid));
|
MAC2STR(mgmt->bssid));
|
||||||
|
Loading…
Reference in New Issue
Block a user