Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1From dbee29df729e543a89b3f95c1436e982eb0047c1 Mon Sep 17 00:00:00 2001 2From: Joan Bruguera <joanbrugueram@gmail.com> 3Date: Thu, 30 Jun 2022 02:15:35 +0200 4Subject: [PATCH] Tentative patch for broadcom-wl 6.30.223.271 driver for Linux 6.0-rc1 5 6Applies on top of all the patches applied to broadcom-wl-dkms 6.30.223.271-33 on Arch Linux. 7--- 8 src/wl/sys/wl_cfg80211_hybrid.c | 5 +++++ 9 1 file changed, 5 insertions(+) 10 11diff --git a/src/wl/sys/wl_cfg80211_hybrid.c b/src/wl/sys/wl_cfg80211_hybrid.c 12index d815b33..7faa735 100644 13--- a/src/wl/sys/wl_cfg80211_hybrid.c 14+++ b/src/wl/sys/wl_cfg80211_hybrid.c 15@@ -2381,7 +2381,12 @@ wl_bss_roaming_done(struct wl_cfg80211_priv *wl, struct net_device *ndev, 16 bss = cfg80211_get_bss(wl_to_wiphy(wl), NULL, (s8 *)&wl->bssid, 17 ssid->SSID, ssid->SSID_len, WLAN_CAPABILITY_ESS, WLAN_CAPABILITY_ESS); 18 struct cfg80211_roam_info roam_info = { 19+// Rel. commit "cfg80211: Indicate MLO connection info in connect and roam callbacks" (Veerendranath Jakkam, Wed Jun 8) 20+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 0, 0) 21 .bss = bss, 22+#else 23+ .links[0].bss = bss, 24+#endif 25 .req_ie = conn_info->req_ie, 26 .req_ie_len = conn_info->req_ie_len, 27 .resp_ie = conn_info->resp_ie, 28-- 292.37.0 30