mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 17:26:19 +07:00
iwlwifi: mvm: Set TX_CMD_FLG_PROT_REQUIRE correctly
Previously the protection flag wasn't set on multicast frames even if the RA is unicast. Fix this by checking addr1 instead. Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
parent
503863055d
commit
a371bb646f
@ -278,7 +278,7 @@ void iwl_mvm_set_tx_cmd(struct iwl_mvm *mvm, struct sk_buff *skb,
|
||||
}
|
||||
|
||||
if (ieee80211_is_data(fc) && len > mvm->rts_threshold &&
|
||||
!is_multicast_ether_addr(ieee80211_get_DA(hdr)))
|
||||
!is_multicast_ether_addr(hdr->addr1))
|
||||
tx_flags |= TX_CMD_FLG_PROT_REQUIRE;
|
||||
|
||||
if (fw_has_capa(&mvm->fw->ucode_capa,
|
||||
|
Loading…
Reference in New Issue
Block a user