mwifiex: correction in Rx STBC field of htcapinfo
authorAmitkumar Karwar <[email protected]>
Fri, 9 Sep 2016 14:56:19 +0000 (20:26 +0530)
committerKalle Valo <[email protected]>
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 <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
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;