* [PATCH] mac80211: Use the HT capabilities from the IE instead of the station's caps.
@ 2008-11-14 10:57 Sujith
2008-11-14 11:02 ` Johannes Berg
0 siblings, 1 reply; 2+ messages in thread
From: Sujith @ 2008-11-14 10:57 UTC (permalink / raw)
To: linville; +Cc: linux-wireless, johannes
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
---
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;
--
1.6.0.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mac80211: Use the HT capabilities from the IE instead of the station's caps.
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
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2008-11-14 11:02 UTC (permalink / raw)
To: Sujith; +Cc: linville, linux-wireless
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-14 11:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox