]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
mac80211: remove useless tid assignment for management and control frames
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 1 Jul 2008 11:29:20 +0000 (14:29 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Jul 2008 14:21:34 +0000 (10:21 -0400)
This patch removes useless tid assignment for management and control frames

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/wme.c

index ffe1af82fa4dec8d57d732e891b92e58bfed5e3c..a1a53a4f2b99ef9646aead7bfead6c07fc380913 100644 (file)
@@ -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);