Linux wireless drivers development
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Sujith <Sujith.Manoharan@atheros.com>
Cc: linville@tuxdriver.com, linux-wireless@vger.kernel.org
Subject: Re: [PATCH] mac80211: Use the HT capabilities from the IE instead of the station's caps.
Date: Fri, 14 Nov 2008 12:02:58 +0100	[thread overview]
Message-ID: <1226660579.4120.5.camel@johannes.berg> (raw)
In-Reply-To: <18717.22961.296661.281335@gargle.gargle.HOWL>

[-- Attachment #1: Type: text/plain, Size: 794 bytes --]

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

Thanks.

Acked-by: Johannes Berg <johannes@sipsolutions.net>

> ---
>  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 #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

      reply	other threads:[~2008-11-14 11:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-14 10:57 [PATCH] mac80211: Use the HT capabilities from the IE instead of the station's caps Sujith
2008-11-14 11:02 ` Johannes Berg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1226660579.4120.5.camel@johannes.berg \
    --to=johannes@sipsolutions.net \
    --cc=Sujith.Manoharan@atheros.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox