From: Tomas Winkler Date: Tue, 1 Jul 2008 11:29:20 +0000 (+0300) Subject: mac80211: remove useless tid assignment for management and control frames X-Git-Tag: upstream/snapshot3+hdmi~24247^2~187^2~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d96a7bc0499d0332cecb0a1d7d7d0d44f9c8cc28;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git mac80211: remove useless tid assignment for management and control frames This patch removes useless tid assignment for management and control frames Signed-off-by: Tomas Winkler Acked-by: Johannes Berg Signed-off-by: John W. Linville --- diff --git a/net/mac80211/wme.c b/net/mac80211/wme.c index ffe1af8..a1a53a4 100644 --- a/net/mac80211/wme.c +++ b/net/mac80211/wme.c @@ -210,7 +210,6 @@ static int wme_qdiscop_enqueue(struct sk_buff *skb, struct Qdisc* qd) kfree_skb(skb); err = NET_XMIT_DROP; } else { - tid = skb->priority & QOS_CONTROL_TAG1D_MASK; skb_set_queue_mapping(skb, queue); qdisc = q->queues[queue]; err = qdisc->enqueue(skb, qdisc);