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 <quic_jouni@quicinc.com>
This commit is contained in:
Jouni Malinen 2022-01-24 20:28:13 +02:00 committed by Jouni Malinen
parent 93a19abcaf
commit 3f67ab5871

View file

@ -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