mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
wifi: mac80211: copy aggregation information
This information can be considered part of the capabilities and should
also be copied to the NAN data station.
Fixes: 27e9b326b6 ("wifi: mac80211: support NAN stations")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20260714141038.15620aa5324b.I049254b854ac91c32e0768eb7c819f32eda34218@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
4c4c97b60a
commit
0fe2d5be7a
|
|
@ -2611,6 +2611,9 @@ static int sta_apply_parameters(struct ieee80211_local *local,
|
|||
memcpy(&sta->deflink.pub->supp_rates,
|
||||
&nmi_sta->deflink.pub->supp_rates,
|
||||
sizeof(sta->deflink.pub->supp_rates));
|
||||
|
||||
sta->deflink.pub->agg = nmi_sta->deflink.pub->agg;
|
||||
__ieee80211_sta_recalc_aggregates(sta, 0);
|
||||
}
|
||||
|
||||
/* set the STA state after all sta info from usermode has been set */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user