Search Linux Wireless

Re: [PATCH] mac80211: Use the HT capabilities from the IE instead of the station's caps.

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

 



On Fri, 2008-11-14 at 16:27 +0530, Sujith wrote:
> Signed-off-by: Sujith <Sujith.Manoharan@xxxxxxxxxxx>

Thanks.

Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>

> ---
>  net/mac80211/ht.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/net/mac80211/ht.c b/net/mac80211/ht.c
> index 0ffbe12..ece79ae 100644
> --- a/net/mac80211/ht.c
> +++ b/net/mac80211/ht.c
> @@ -36,7 +36,7 @@ void ieee80211_ht_cap_ie_to_sta_ht_cap(struct ieee80211_supported_band *sband,
>  
>  	ht_cap->ht_supported = true;
>  
> -	ht_cap->cap = ht_cap->cap & sband->ht_cap.cap;
> +	ht_cap->cap = le16_to_cpu(ht_cap_ie->cap_info) & sband->ht_cap.cap;
>  	ht_cap->cap &= ~IEEE80211_HT_CAP_SM_PS;
>  	ht_cap->cap |= sband->ht_cap.cap & IEEE80211_HT_CAP_SM_PS;
>  

Attachment: signature.asc
Description: This is a digitally signed message part


[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