Skip to content

Commit

Permalink
mac80211: don't put null-data frames on the normal TXQ
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Berg committed Jul 9, 2018
1 parent c47078d commit 0832b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/mac80211/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0832b60

Please sign in to comment.