Search Linux Wireless

Re: [PATCH] wl12xx: do not set queue_mapping directly

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

 



On Tue, 2011-04-26 at 23:27 +0200, Hauke Mehrtens wrote:
> It is preferred to use the setter that to set queue_mapping directly.
> This also helps backporting in compat-wireless.
> 
> Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
> ---
>  drivers/net/wireless/wl12xx/main.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
> index dad81f6..9d1d4d6 100644
> --- a/drivers/net/wireless/wl12xx/main.c
> +++ b/drivers/net/wireless/wl12xx/main.c
> @@ -1293,7 +1293,7 @@ static struct sk_buff *wl12xx_alloc_dummy_packet(struct wl1271 *wl)
>  	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;

Thanks Hauke! This is indeed better than having to hack compat-wireless
to get it to work.

Applied.

-- 
Cheers,
Luca.

--
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