mirror of https://gitee.com/openkylin/linux.git
iwlwifi: mvm: update QoS parameters when they change
The QoS parameters can change during the lifetime of the BSS, and more importantly hostapd only sets up the correct ones after having started the AP/GO. Resend the MAC context when the parameters change, with the updated parameters. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
This commit is contained in:
parent
3974533776
commit
f7d8b70290
|
@ -1739,7 +1739,7 @@ iwl_mvm_bss_info_changed_ap_ibss(struct iwl_mvm *mvm,
|
|||
return;
|
||||
|
||||
if (changes & (BSS_CHANGED_ERP_CTS_PROT | BSS_CHANGED_HT |
|
||||
BSS_CHANGED_BANDWIDTH) &&
|
||||
BSS_CHANGED_BANDWIDTH | BSS_CHANGED_QOS) &&
|
||||
iwl_mvm_mac_ctxt_changed(mvm, vif, false, NULL))
|
||||
IWL_ERR(mvm, "failed to update MAC %pM\n", vif->addr);
|
||||
|
||||
|
|
Loading…
Reference in New Issue