mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-09 02:15:16 +07:00
iwlwifi: mvm: free dqa queues on STA removal also in non-bss
Support queue removal in DQA mode in iwl_mvm_rm_sta() also when the device isn't a STA connected to an AP. Signed-off-by: Liad Kaufman <liad.kaufman@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
parent
fbe4112791
commit
a6f035a008
@ -819,8 +819,9 @@ int iwl_mvm_rm_sta(struct iwl_mvm *mvm,
|
|||||||
if (iwl_mvm_has_new_rx_api(mvm))
|
if (iwl_mvm_has_new_rx_api(mvm))
|
||||||
kfree(mvm_sta->dup_data);
|
kfree(mvm_sta->dup_data);
|
||||||
|
|
||||||
if (vif->type == NL80211_IFTYPE_STATION &&
|
if ((vif->type == NL80211_IFTYPE_STATION &&
|
||||||
mvmvif->ap_sta_id == mvm_sta->sta_id) {
|
mvmvif->ap_sta_id == mvm_sta->sta_id) ||
|
||||||
|
iwl_mvm_is_dqa_supported(mvm)){
|
||||||
ret = iwl_mvm_drain_sta(mvm, mvm_sta, true);
|
ret = iwl_mvm_drain_sta(mvm, mvm_sta, true);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user