Search Linux Wireless

Re: [PATCH 2/2] compat-wireless: use function for setting queue_mapping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2011-04-26 at 21:17 +0200, Hauke Mehrtens wrote:
> Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
> ---
>  patches/22-multiqueue.patch |   11 +++++++++++
>  1 files changed, 11 insertions(+), 0 deletions(-)
> 
> diff --git a/patches/22-multiqueue.patch b/patches/22-multiqueue.patch
> index 0aa0ec6..2090320 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);

You should submit that to the driver, it's preferred that way.

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux