+ wpa_printf(MSG_DEBUG, "EVENT_TX_STATUS on %s dst=" MACSTR
+ " type=%d stype=%d pending_dst=" MACSTR,
+ wpa_s->ifname, MAC2STR(data->tx_status.dst),
+ data->tx_status.type, data->tx_status.stype,
+ MAC2STR(wpa_s->parent->pending_action_dst));
+ if (wpa_s->ap_iface == NULL) {
+#ifdef CONFIG_P2P
+ if (data->tx_status.type == WLAN_FC_TYPE_MGMT &&
+ data->tx_status.stype == WLAN_FC_STYPE_ACTION)
+ wpas_send_action_tx_status(
+ wpa_s, data->tx_status.dst,
+ data->tx_status.data,
+ data->tx_status.data_len,
+ data->tx_status.ack);
+#endif /* CONFIG_P2P */
+ break;
+ }
+#ifdef CONFIG_P2P
+ /*
+ * Catch TX status events for Action frames we sent via group
+ * interface in GO mode.
+ */
+ if (data->tx_status.type == WLAN_FC_TYPE_MGMT &&
+ data->tx_status.stype == WLAN_FC_STYPE_ACTION &&
+ os_memcmp(wpa_s->parent->pending_action_dst,
+ data->tx_status.dst, ETH_ALEN) == 0) {
+ wpas_send_action_tx_status(
+ wpa_s->parent, data->tx_status.dst,
+ data->tx_status.data,
+ data->tx_status.data_len,
+ data->tx_status.ack);