diff options
author | Johannes Berg <johannes.berg@intel.com> | 2024-01-29 15:53:55 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-02-02 13:09:35 +0100 |
commit | dd6c064cfc3fc18d871107c6f5db8837e88572e4 (patch) | |
tree | 582c0c5ce24b74521efb9f0f7e98bad8451697f9 /net | |
parent | 9480adfe4e0f0319b9da04b44e4eebd5ad07e0cd (diff) |
wifi: mac80211: set station RX-NSS on reconfig
When a station is added/reconfigured by userspace, e.g. a TDLS
peer or a SoftAP client STA, rx_nss is currently not always set,
so that it might be left zero. Set it up properly.
Link: https://msgid.link/20240129155354.98f148a3d654.I193a02155f557ea54dc9d0232da66cf96734119a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/cfg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 489dd97f5172..321698012e12 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -1869,6 +1869,8 @@ static int sta_link_apply_parameters(struct ieee80211_local *local, sband->band); } + ieee80211_sta_set_rx_nss(link_sta); + return ret; } |