]> rtime.felk.cvut.cz Git - frescor/fwp.git/blob - patches/qos_enable_24-rc3.patch
Merge branch 'master' of rtime.felk.cvut.cz:frescor/fwp
[frescor/fwp.git] / patches / qos_enable_24-rc3.patch
1 Index: linux2.6-devel/net/mac80211/wme.c
2 ===================================================================
3 --- linux2.6-devel.orig/net/mac80211/wme.c      2007-12-04 10:59:30.000000000 +0100
4 +++ linux2.6-devel/net/mac80211/wme.c   2007-12-04 11:01:11.000000000 +0100
5 @@ -112,12 +112,12 @@
6  
7         /* is this a QoS frame? */
8         qos = fc & IEEE80211_STYPE_QOS_DATA;
9 -
10 +#if 0
11         if (!qos) {
12                 skb->priority = 0; /* required for correct WPA/11i MIC */
13                 return ieee802_1d_to_ac[skb->priority];
14         }
15 -
16 +#endif
17         /* use the data classifier to determine what 802.1d tag the
18          * data frame has */
19         skb->priority = classify_1d(skb, qd);