]> git.pld-linux.org Git - packages/wl.git/blame - kernel-6.0.patch
- fix building with kernel 6.0, rel 18
[packages/wl.git] / kernel-6.0.patch
CommitLineData
e346bc1a
JR
1--- wl-6.30.223.271/wl/src/wl/sys/wl_cfg80211_hybrid.c~ 2022-10-28 22:34:15.000000000 +0200
2+++ wl-6.30.223.271/wl/src/wl/sys/wl_cfg80211_hybrid.c 2022-10-28 22:50:49.322077055 +0200
3@@ -2388,7 +2388,11 @@
4 bss = cfg80211_get_bss(wl_to_wiphy(wl), NULL, (s8 *)&wl->bssid,
5 ssid->SSID, ssid->SSID_len, WLAN_CAPABILITY_ESS, WLAN_CAPABILITY_ESS);
6 struct cfg80211_roam_info roam_info = {
7+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 0, 0)
8+ .links[0].bss = bss,
9+#else
10 .bss = bss,
11+#endif
12 .req_ie = conn_info->req_ie,
13 .req_ie_len = conn_info->req_ie_len,
14 .resp_ie = conn_info->resp_ie,
This page took 0.048076 seconds and 4 git commands to generate.