diff options
-rw-r--r-- | src/ap/ieee802_11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c index b1dc3b0..9c931ca 100644 --- a/src/ap/ieee802_11.c +++ b/src/ap/ieee802_11.c @@ -1738,7 +1738,7 @@ void hostapd_tx_status(struct hostapd_data *hapd, const u8 *addr, break; } } - if (sta == NULL) + if (sta == NULL || !(sta->flags & WLAN_STA_ASSOC)) return; if (sta->flags & WLAN_STA_PENDING_POLL) { wpa_printf(MSG_DEBUG, "STA " MACSTR " %s pending " |