From a523f5dd07034d85cd9eb29bf345b9900871cafa Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Tue, 26 Apr 2011 21:17:11 +0200 Subject: [PATCH] compat-wireless: use function for setting queue_mapping Signed-off-by: Hauke Mehrtens --- patches/22-multiqueue.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/patches/22-multiqueue.patch b/patches/22-multiqueue.patch index 0aa0ec6fd1c0..20903202508a 100644 --- a/patches/22-multiqueue.patch +++ b/patches/22-multiqueue.patch @@ -44,6 +44,17 @@ are used for injecting frames so they have their own respective queue handling, but mac80211 just always sends management frames on VO queue by using skb_set_queue_mapping(skb, 0) through ieee80211_tx_skb() +--- a/drivers/net/wireless/wl12xx/main.c ++++ b/drivers/net/wireless/wl12xx/main.c +@@ -1272,7 +1272,7 @@ static struct sk_buff *wl12xx_alloc_dumm + skb->priority = WL1271_TID_MGMT; + + /* Initialize all fields that might be used */ +- skb->queue_mapping = 0; ++ skb_set_queue_mapping(skb, 0); + memset(IEEE80211_SKB_CB(skb), 0, sizeof(struct ieee80211_tx_info)); + + return skb; --- a/net/mac80211/util.c +++ b/net/mac80211/util.c @@ -264,6 +264,18 @@ __le16 ieee80211_ctstoself_duration(stru -- 2.30.2