From: Jouni Malinen Date: Mon, 24 Jan 2022 18:28:13 +0000 (+0200) Subject: DPP: Handle TX status events for broadcast DPP messages X-Git-Tag: hostap_2_11~2284 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f67ab58717168a8dbd1928feb17e46af5ac0885;p=thirdparty%2Fhostap.git DPP: Handle TX status events for broadcast DPP messages Report TX status for DPP messages even if the destination address was broadcast. This is needed to get appropriate trigger for PKEX retries. Signed-off-by: Jouni Malinen --- diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c index f63292537..6140a492c 100644 --- a/src/ap/ieee802_11.c +++ b/src/ap/ieee802_11.c @@ -6618,8 +6618,6 @@ static void handle_action_cb(struct hostapd_data *hapd, struct sta_info *sta; const struct rrm_measurement_report_element *report; - if (is_multicast_ether_addr(mgmt->da)) - return; #ifdef CONFIG_DPP if (len >= IEEE80211_HDRLEN + 6 && mgmt->u.action.category == WLAN_ACTION_PUBLIC && @@ -6650,6 +6648,8 @@ static void handle_action_cb(struct hostapd_data *hapd, return; } #endif /* CONFIG_DPP */ + if (is_multicast_ether_addr(mgmt->da)) + return; sta = ap_get_sta(hapd, mgmt->da); if (!sta) { wpa_printf(MSG_DEBUG, "handle_action_cb: STA " MACSTR