Skip to content

Commit

Permalink
rtl8192du: Remove dead code for RTL8192C_RECONFIG_TO_1T1R
Browse files Browse the repository at this point in the history
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
  • Loading branch information
lwfinger committed Jul 11, 2014
1 parent fa72672 commit 94f5075
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 19 deletions.
6 changes: 0 additions & 6 deletions core/rtw_mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -2853,12 +2853,6 @@ void rtw_update_ht_cap(struct rtw_adapter *padapter, u8 *pie, uint ie_len,
MCS_rate[i] &= MCS_rate_2R[i];
#endif /* CONFIG_DISABLE_MCS13TO15 */
}
#ifdef RTL8192C_RECONFIG_TO_1T1R
{
pmlmeinfo->HT_caps.u.HT_cap_element.
MCS_rate[i] &= MCS_rate_1R[i];
}
#endif
if (pregistrypriv->special_rf_path)
pmlmeinfo->HT_caps.u.HT_cap_element.
MCS_rate[i] &= MCS_rate_1R[i];
Expand Down
7 changes: 0 additions & 7 deletions core/rtw_mlme_ext.c
Original file line number Diff line number Diff line change
Expand Up @@ -7119,13 +7119,6 @@ void issue_assocreq(struct rtw_adapter *adapt)
#endif /* CONFIG_DISABLE_MCS13TO15 */
break;
}
#ifdef RTL8192C_RECONFIG_TO_1T1R
if (pregpriv->rx_stbc)
pmlmeinfo->HT_caps.u.HT_cap_element.HT_caps_info |= cpu_to_le16(0x0100); /* RX STBC One spatial stream */

memcpy(pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate,
MCS_rate_1R, 16);
#endif
pmlmeinfo->HT_caps.u.HT_cap_element.HT_caps_info =
pmlmeinfo->HT_caps.u.HT_cap_element.HT_caps_info;
pframe =
Expand Down
6 changes: 0 additions & 6 deletions core/rtw_wlan_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -887,12 +887,6 @@ void HT_caps_handler(struct rtw_adapter *padapter, struct ndis_802_11_variable_i
pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate[i] &= MCS_rate_2R[i];
#endif /* CONFIG_DISABLE_MCS13TO15 */
}
#ifdef RTL8192C_RECONFIG_TO_1T1R
{
pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate[i] &= MCS_rate_1R[i];
}
#endif

if (pregistrypriv->special_rf_path)
pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate[i] &= MCS_rate_1R[i];
}
Expand Down

0 comments on commit 94f5075

Please sign in to comment.