X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=net%2Fmac80211%2Fwme.c;h=d51422c778dee359bec450c75b77bfb24ca712f4;hb=632b06aa2842b12c6d6a510ec080fb6ebdb38ea5;hp=21211c60ca988992034bfc330977e846c3fc7010;hpb=7b383bef25e493cc4f047e44ebd6c3ccfd6d1cc5;p=~andy%2Flinux diff --git a/net/mac80211/wme.c b/net/mac80211/wme.c index 21211c60ca9..d51422c778d 100644 --- a/net/mac80211/wme.c +++ b/net/mac80211/wme.c @@ -154,6 +154,11 @@ u16 ieee80211_select_queue(struct ieee80211_sub_if_data *sdata, return IEEE80211_AC_BE; } + if (skb->protocol == sdata->control_port_protocol) { + skb->priority = 7; + return ieee80211_downgrade_queue(sdata, skb); + } + /* use the data classifier to determine what 802.1d tag the * data frame has */ rcu_read_lock();