From: Johannes Berg <[email protected]>

Since (QoS) NDP frames shouldn't be put into aggregation nor are
assigned real sequence numbers, etc. it's better to treat them as
non-data packets and not put them on the normal TXQs.

Signed-off-by: Johannes Berg <[email protected]>
---
 net/mac80211/tx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index d1cef5ad91ee..726fb3b02a23 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -1256,7 +1256,7 @@ static struct txq_info *ieee80211_get_txq(struct 
ieee80211_local *local,
                return NULL;
        } else if (!sta) {
                txq = vif->txq;
-       } else if (!ieee80211_is_data(hdr->frame_control)) {
+       } else if (!ieee80211_is_data_present(hdr->frame_control)) {
                if (!sta->uploaded)
                        return NULL;
 
-- 
2.11.0

Reply via email to