diff options
-rw-r--r-- | drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_wlan_util.c b/drivers/staging/rtl8188eu/core/rtw_wlan_util.c index 4480deef95a1..f404370d6631 100644 --- a/drivers/staging/rtl8188eu/core/rtw_wlan_util.c +++ b/drivers/staging/rtl8188eu/core/rtw_wlan_util.c @@ -1180,12 +1180,8 @@ unsigned int update_supported_rate(unsigned char *ptn, unsigned int ptn_sz) unsigned int update_MSC_rate(struct ieee80211_ht_cap *pHT_caps) { - unsigned int mask = 0; - - mask = (pHT_caps->mcs.rx_mask[0] << 12) | + return (pHT_caps->mcs.rx_mask[0] << 12) | (pHT_caps->mcs.rx_mask[1] << 20); - - return mask; } int support_short_GI(struct adapter *padapter, struct ieee80211_ht_cap *pHT_caps) |