mwifiex: correction in Rx STBC field of htcapinfo
authorAmitkumar Karwar <akarwar@marvell.com>
Fri, 9 Sep 2016 14:56:19 +0000 (20:26 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 14 Sep 2016 17:00:35 +0000 (20:00 +0300)
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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/cfg80211.c

index 0a03d3f90b566fcc9e447272765d6a7b17778344..c7f2faa81921818462294a50d732362c01b82b8a 100644 (file)
@@ -2732,7 +2732,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;