The branch stable/14 has been updated by bz:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=cb9ffb85c4135e496d244d20ca1e65bb31d03d85

commit cb9ffb85c4135e496d244d20ca1e65bb31d03d85
Author:     Bjoern A. Zeeb <b...@freebsd.org>
AuthorDate: 2025-02-22 23:31:46 +0000
Commit:     Bjoern A. Zeeb <b...@freebsd.org>
CommitDate: 2025-02-26 02:39:32 +0000

    LinuxKPI: 802.11: add condition to TODO in ieee80211_sta_recalc_aggregates
    
    ieee80211_sta_recalc_aggregates() shows up in TODO traces but there is
    nothing we have to do there until we have active links (MLO support).
    Make the TODO conditional for a time when we will get there.
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 72ee3d57f31eff420948048ba3c6afdefe4aab5b)
---
 sys/compat/linuxkpi/common/include/net/mac80211.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys/compat/linuxkpi/common/include/net/mac80211.h 
b/sys/compat/linuxkpi/common/include/net/mac80211.h
index 69956c90042c..9faf58ed6ee5 100644
--- a/sys/compat/linuxkpi/common/include/net/mac80211.h
+++ b/sys/compat/linuxkpi/common/include/net/mac80211.h
@@ -2043,10 +2043,12 @@ ieee80211_sta_pspoll(struct ieee80211_sta *sta)
        TODO();
 }
 
-static __inline void
+static inline void
 ieee80211_sta_recalc_aggregates(struct ieee80211_sta *sta)
 {
-       TODO();
+       if (sta->valid_links) {
+               TODO();
+       }
 }
 
 static __inline void

Reply via email to