]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
mesh: Accept Action frames without BSSID match
authorBob Copeland <me@bobcopeland.com>
Mon, 1 Sep 2014 04:23:30 +0000 (00:23 -0400)
committerJouni Malinen <j@w1.fi>
Sat, 25 Oct 2014 14:45:35 +0000 (17:45 +0300)
[original patch by: Thomas Pedersen <thomas@noack.us>]
Signed-off-by: Bob Copeland <me@bobcopeland.com>
src/ap/ieee802_11.c

index ed4f55a4feeb04b2abc905a4efc9f83373a06aa7..3eb9456834241e0da435719e88fc61915130f041 100644 (file)
@@ -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));