aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2018-07-03 14:47:25 +0200
committerJohannes Berg <johannes.berg@intel.com>2018-07-09 10:21:18 +0200
commit0832b603c7583e75f149ea984827b6d929f336b5 (patch)
tree1164b439b263632f67ffc1420d6203df16a60da0 /net/mac80211
parenttcp: remove redundant SOCK_DONE checks (diff)
downloadlinux-dev-0832b603c7583e75f149ea984827b6d929f336b5.tar.xz
linux-dev-0832b603c7583e75f149ea984827b6d929f336b5.zip
mac80211: don't put null-data frames on the normal TXQ
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, for example when building A-MPDUs they need to be treated specially, and they are more used for management (e.g. to see if the station is alive) anyway. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index 6a79d564de35..cd332e3e1134 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -1249,7 +1249,7 @@ static struct txq_info *ieee80211_get_txq(struct ieee80211_local *local,
(info->control.flags & IEEE80211_TX_CTRL_PS_RESPONSE))
return NULL;
- if (!ieee80211_is_data(hdr->frame_control))
+ if (!ieee80211_is_data_present(hdr->frame_control))
return NULL;
if (sta) {