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>
        enum nl80211_tx_power_setting type;
 };
 
-#define MAX_STA_LINKS                  15
-
 /**
  * struct ieee80211_link_sta - station Link specific info
  * All link specific info for a STA link for a non MLD STA(single)
 
        bool multi_link_sta;
        struct ieee80211_link_sta deflink;
-       struct ieee80211_link_sta *link[MAX_STA_LINKS];
+       struct ieee80211_link_sta *link[IEEE80211_MLD_MAX_NUM_LINKS];
 
        /* must be last */
        u8 drv_priv[] __aligned(sizeof(void *));
 
 
        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;