X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=net%2Fmac80211%2Fwme.c;h=d51422c778dee359bec450c75b77bfb24ca712f4;hb=084c6c5013af3c62f1c344435214496f5ac999f2;hp=21211c60ca988992034bfc330977e846c3fc7010;hpb=9ca5d4b4e1d4416b6d01804be843f8e39845c73d;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();