git: 4d3c09c79a04 - stable/15 - LinuxKPI: 802.11: initialize a backpointer on the link_sta
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Dec 2025 15:44:13 UTC
The branch stable/15 has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=4d3c09c79a04b2bafbee86f50a9bd25d490762b7
commit 4d3c09c79a04b2bafbee86f50a9bd25d490762b7
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-11-19 02:21:00 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-12-08 15:43:51 +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
PR; 290808
(cherry picked from commit d1180baa9b99538481f3780fc8f4e6e464a15e99)
---
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);