From: Bob Copeland Date: Mon, 1 Sep 2014 04:23:30 +0000 (-0400) Subject: mesh: Accept Action frames without BSSID match X-Git-Tag: hostap_2_4~1244 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3e9899e02a3ece39eaf226ab4605d974ff8b81d;p=thirdparty%2Fhostap.git mesh: Accept Action frames without BSSID match [original patch by: Thomas Pedersen ] Signed-off-by: Bob Copeland --- diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c index ed4f55a4f..3eb945683 100644 --- a/src/ap/ieee802_11.c +++ b/src/ap/ieee802_11.c @@ -1774,6 +1774,9 @@ int ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len, !((hapd->conf->p2p & P2P_GROUP_OWNER) && stype == WLAN_FC_STYPE_ACTION) && #endif /* CONFIG_P2P */ +#ifdef CONFIG_MESH + !(hapd->conf->mesh & MESH_ENABLED) && +#endif /* CONFIG_MESH */ os_memcmp(mgmt->bssid, hapd->own_addr, ETH_ALEN) != 0) { wpa_printf(MSG_INFO, "MGMT: BSSID=" MACSTR " not our address", MAC2STR(mgmt->bssid));