diff options
Diffstat (limited to 'net/mac80211/wme.c')
-rw-r--r-- | net/mac80211/wme.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net/mac80211/wme.c b/net/mac80211/wme.c index d303229249e7..fcc8921722f4 100644 --- a/net/mac80211/wme.c +++ b/net/mac80211/wme.c | |||
@@ -125,14 +125,13 @@ static inline int classify80211(struct sk_buff *skb, struct Qdisc *qd) | |||
125 | } | 125 | } |
126 | 126 | ||
127 | /* use the data classifier to determine what 802.1d tag the | 127 | /* use the data classifier to determine what 802.1d tag the |
128 | * data frame has */ | 128 | * data frame has */ |
129 | skb->priority = classify_1d(skb, qd); | 129 | skb->priority = classify_1d(skb, qd); |
130 | 130 | ||
131 | /* incase we are a client verify acm is not set for this ac */ | 131 | /* in case we are a client verify acm is not set for this ac */ |
132 | while (unlikely(local->wmm_acm & BIT(skb->priority))) { | 132 | while (unlikely(local->wmm_acm & BIT(skb->priority))) { |
133 | if (wme_downgrade_ac(skb)) { | 133 | if (wme_downgrade_ac(skb)) { |
134 | /* No AC with lower priority has acm=0, | 134 | /* No AC with lower priority has acm=0, drop packet. */ |
135 | * drop packet. */ | ||
136 | return -1; | 135 | return -1; |
137 | } | 136 | } |
138 | } | 137 | } |