git: 72ee3d57f31e - main - LinuxKPI: 802.11: add condition to TODO in ieee80211_sta_recalc_aggregates
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Feb 2025 00:38:56 UTC
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=72ee3d57f31eff420948048ba3c6afdefe4aab5b
commit 72ee3d57f31eff420948048ba3c6afdefe4aab5b
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-02-22 23:31:46 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-02-22 23:31:46 +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
MFC after: 3 days
---
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