diff mbox

mwifiex: correction in Rx STBC field of htcapinfo

Message ID 1473432979-16554-1-git-send-email-akarwar@marvell.com (mailing list archive)
State Accepted
Commit ae1799a1cb130170c3ba3370793cea5b0d9d2aa8
Delegated to: Kalle Valo
Headers show

Commit Message

Amitkumar Karwar Sept. 9, 2016, 2:56 p.m. UTC
Currently Rx STBC in assoc request frame is advertised as 3. It should
be 2, as our chipsets support two spatial streams.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
---
 drivers/net/wireless/marvell/mwifiex/cfg80211.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalle Valo Sept. 14, 2016, 5 p.m. UTC | #1
Amitkumar Karwar <akarwar@marvell.com> wrote:
> Currently Rx STBC in assoc request frame is advertised as 3. It should
> be 2, as our chipsets support two spatial streams.
> 
> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>

Thanks, 1 patch applied to wireless-drivers-next.git:

ae1799a1cb13 mwifiex: correction in Rx STBC field of htcapinfo
diff mbox

Patch

diff --git a/drivers/net/wireless/marvell/mwifiex/cfg80211.c b/drivers/net/wireless/marvell/mwifiex/cfg80211.c
index 33e7a74..7a9b431 100644
--- a/drivers/net/wireless/marvell/mwifiex/cfg80211.c
+++ b/drivers/net/wireless/marvell/mwifiex/cfg80211.c
@@ -2756,7 +2756,7 @@  mwifiex_setup_ht_caps(struct ieee80211_sta_ht_cap *ht_info,
 		ht_info->cap &= ~IEEE80211_HT_CAP_SGI_40;
 
 	if (adapter->user_dev_mcs_support == HT_STREAM_2X2)
-		ht_info->cap |= 3 << IEEE80211_HT_CAP_RX_STBC_SHIFT;
+		ht_info->cap |= 2 << IEEE80211_HT_CAP_RX_STBC_SHIFT;
 	else
 		ht_info->cap |= 1 << IEEE80211_HT_CAP_RX_STBC_SHIFT;