mac80211: fix the TID on NDPs sent as EOSP carrier
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 25 Oct 2016 07:32:16 +0000 (10:32 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 11 Jan 2017 15:32:58 +0000 (16:32 +0100)
commitd7f842442f766db3f39fc5d166ddcc24bf817056
tree36d604fe523a57b449d5031c26673d783dbcd9ef
parentc38c39bf7cc04d688291f382469e84ec2a8548a4
mac80211: fix the TID on NDPs sent as EOSP carrier

In the commit below, I forgot to translate the mac80211's
AC to QoS IE order. Moreover, the condition in the if was
wrong. Fix both issues.
This bug would hit only with clients that didn't set all
the ACs as delivery enabled.

Fixes: f438ceb81d4 ("mac80211: uapsd_queues is in QoS IE order")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c