diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-05-30 23:36:30 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-06-20 13:55:20 +0300 |
commit | ec7a04073d3b31c03a9ad00e0709ffd78b5cfd1b (patch) | |
tree | 164c04769acc36f27aed0ab0465759f75b44ec40 /net/mac80211 | |
parent | 246b39e4a1ba5ad77edfb2f28d147abc5e2bb0a7 (diff) | |
download | linux-ec7a04073d3b31c03a9ad00e0709ffd78b5cfd1b.tar.xz |
wifi: mac80211: use IEEE80211_MLD_MAX_NUM_LINKS
Remove MAX_STA_LINKS and use IEEE80211_MLD_MAX_NUM_LINKS
instead to unify between the station and other data structures.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/sta_info.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index 134a7dad0ac4..2ff3d5fd0cbf 100644 --- a/net/mac80211/sta_info.h +++ b/net/mac80211/sta_info.h @@ -710,7 +710,7 @@ struct sta_info { bool multi_link_sta; struct link_sta_info deflink; - struct link_sta_info *link[MAX_STA_LINKS]; + struct link_sta_info *link[IEEE80211_MLD_MAX_NUM_LINKS]; /* keep last! */ struct ieee80211_sta sta; |