]> git.pld-linux.org Git - packages/rtl8812au.git/blob - kernel-5.11.patch
- fix building with kernl 5.11
[packages/rtl8812au.git] / kernel-5.11.patch
1 --- rtl8812au-5.9.3.2-main/os_dep/linux/ioctl_cfg80211.c.orig   2020-12-14 10:07:30.000000000 +0100
2 +++ rtl8812au-5.9.3.2-main/os_dep/linux/ioctl_cfg80211.c        2021-02-25 22:21:04.529544070 +0100
3 @@ -456,7 +456,11 @@
4  
5  #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0))
6         if (started) {
7 +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0))
8 +               cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, false);
9 +#else
10                 cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0);
11 +#endif
12                 goto exit;
13         }
14  #endif
This page took 0.044351 seconds and 3 git commands to generate.