mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-10 00:04:17 +00:00
replace rtw_ieee80211_ht_cap with ieee80211_ht_cap
port 042ca34b9ab19d0a52c3b01862a6c07fcb032e86
This commit is contained in:
@@ -425,12 +425,12 @@ void rtw_tdls_process_ht_cap(_adapter *padapter, struct sta_info *ptdls_sta, u8
|
||||
u8 cur_ldpc_cap = 0, cur_stbc_cap = 0, cur_beamform_cap = 0;
|
||||
|
||||
/* Save HT capabilities in the sta object */
|
||||
memset(&ptdls_sta->htpriv.ht_cap, 0, sizeof(struct rtw_ieee80211_ht_cap));
|
||||
if (data && Length >= sizeof(struct rtw_ieee80211_ht_cap)) {
|
||||
memset(&ptdls_sta->htpriv.ht_cap, 0, sizeof(struct ieee80211_ht_cap));
|
||||
if (data && Length >= sizeof(struct ieee80211_ht_cap)) {
|
||||
ptdls_sta->flags |= WLAN_STA_HT;
|
||||
ptdls_sta->flags |= WLAN_STA_WME;
|
||||
|
||||
memcpy(&ptdls_sta->htpriv.ht_cap, data, sizeof(struct rtw_ieee80211_ht_cap));
|
||||
memcpy(&ptdls_sta->htpriv.ht_cap, data, sizeof(struct ieee80211_ht_cap));
|
||||
} else {
|
||||
ptdls_sta->flags &= ~WLAN_STA_HT;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user