]> git.pld-linux.org Git - packages/wl.git/blobdiff - kernel-6.0.patch
- fix building with kernel 6.0, rel 18
[packages/wl.git] / kernel-6.0.patch
diff --git a/kernel-6.0.patch b/kernel-6.0.patch
new file mode 100644 (file)
index 0000000..fc733e3
--- /dev/null
@@ -0,0 +1,14 @@
+--- wl-6.30.223.271/wl/src/wl/sys/wl_cfg80211_hybrid.c~        2022-10-28 22:34:15.000000000 +0200
++++ wl-6.30.223.271/wl/src/wl/sys/wl_cfg80211_hybrid.c 2022-10-28 22:50:49.322077055 +0200
+@@ -2388,7 +2388,11 @@
+       bss = cfg80211_get_bss(wl_to_wiphy(wl), NULL, (s8 *)&wl->bssid,
+       ssid->SSID, ssid->SSID_len, WLAN_CAPABILITY_ESS, WLAN_CAPABILITY_ESS);
+       struct cfg80211_roam_info roam_info = {
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 0, 0)
++              .links[0].bss = bss,
++#else
+               .bss = bss,
++#endif
+               .req_ie = conn_info->req_ie,
+               .req_ie_len = conn_info->req_ie_len,
+               .resp_ie = conn_info->resp_ie,
This page took 0.065532 seconds and 4 git commands to generate.