git: d1180baa9b99 - main - LinuxKPI: 802.11: initialize a backpointer on the link_sta
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Nov 2025 02:27:31 UTC
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=d1180baa9b99538481f3780fc8f4e6e464a15e99
commit d1180baa9b99538481f3780fc8f4e6e464a15e99
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-11-19 02:21:00 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-11-19 02:25:38 +0000
LinuxKPI: 802.11: initialize a backpointer on the link_sta
iwlwifi/mld uses the back pointer in iwl_mld_link_sta_from_mac80211().
Initialize it to make BE200 cards work again.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
PR; 290808
---
sys/compat/linuxkpi/common/src/linux_80211.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c b/sys/compat/linuxkpi/common/src/linux_80211.c
index c68ed4491c3b..8b1f5f0e0399 100644
--- a/sys/compat/linuxkpi/common/src/linux_80211.c
+++ b/sys/compat/linuxkpi/common/src/linux_80211.c
@@ -832,6 +832,7 @@ lkpi_lsta_alloc(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN],
sta->deflink.smps_mode = IEEE80211_SMPS_OFF;
sta->deflink.bandwidth = IEEE80211_STA_RX_BW_20;
sta->deflink.rx_nss = 1;
+ sta->deflink.sta = sta;
lkpi_sta_sync_from_ni(hw, vif, sta, ni, false);