Replace custom defimitions OP_MODE_ and HT_INFO_HT_PARAM_

Use the values provided by linux/ieee80211.h
IEEE80211_HT_OP_*
IEEE80211_HT_PARAM_*
This commit is contained in:
Carlos Garces
2021-10-18 18:26:28 +02:00
parent db6ccf24e0
commit 0242513fe3
3 changed files with 16 additions and 36 deletions

View File

@@ -2181,7 +2181,7 @@ void VCS_update(_adapter *padapter, struct sta_info *psta)
case 2: /* auto */
default:
if (((pmlmeinfo->ERP_enable) && (pmlmeinfo->ERP_IE & BIT(1)))
/*||(pmlmepriv->ht_op_mode & HT_INFO_OPERATION_MODE_NON_GF_DEVS_PRESENT)*/
/*||(pmlmepriv->ht_op_mode & IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT)*/
) {
if (pregpriv->vcs_type == 1) {
psta->rtsen = 1;