]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ath11k: reset trigger frame MAC padding duration
authorMuna Sinada <msinada@codeaurora.org>
Thu, 28 May 2020 22:54:43 +0000 (15:54 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 30 May 2020 14:19:38 +0000 (17:19 +0300)
The value was 3 and it's reserved value. Corrected to maintain fw
defaults.

Signed-off-by: Muna Sinada <msinada@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1590706483-27609-1-git-send-email-msinada@codeaurora.org
drivers/net/wireless/ath/ath11k/mac.c

index 1a7e5817e5c8fa4a8ad3b0ca0cb4c85a7a6547cc..00e5aac3deeacaa4db99a8c15ed100219383ddad 100644 (file)
@@ -3562,7 +3562,7 @@ static int ath11k_mac_copy_he_cap(struct ath11k *ar,
                memcpy(he_cap_elem->phy_cap_info, band_cap->he_cap_phy_info,
                       sizeof(he_cap_elem->phy_cap_info));
 
-               he_cap_elem->mac_cap_info[1] |=
+               he_cap_elem->mac_cap_info[1] &=
                        IEEE80211_HE_MAC_CAP1_TF_MAC_PAD_DUR_MASK;
                he_cap_elem->phy_cap_info[4] &=
                        ~IEEE80211_HE_PHY_CAP4_BEAMFORMEE_MAX_STS_UNDER_80MHZ_MASK;