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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d96a7bc0499d0332cecb0a1d7d7d0d44f9c8cc28;p=openwrt%2Fstaging%2Fblogic.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 ffe1af82fa4d..a1a53a4f2b99 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);