Message ID | 1396368519-12728-24-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/net/mac80211/wme.c b/net/mac80211/wme.c index 906f00c..8fa9cc6 100644 --- a/net/mac80211/wme.c +++ b/net/mac80211/wme.c @@ -153,6 +153,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 */ skb->priority = cfg80211_classify8021d(skb);