]> git.pld-linux.org Git - packages/rtl8812au.git/blob - linux-4.12.patch
a35c9224733c0daa7e222f437111c75ba54a59a5
[packages/rtl8812au.git] / linux-4.12.patch
1 --- rtl8812au_linux-master/os_dep/linux/ioctl_cfg80211.c~       2017-07-31 23:54:36.000000000 +0200
2 +++ rtl8812au_linux-master/os_dep/linux/ioctl_cfg80211.c        2017-07-31 23:58:19.371143221 +0200
3 @@ -5991,7 +5991,11 @@
4  #endif
5  
6  #if defined(CONFIG_PM) && (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 0, 0))
7 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
8 +       wiphy->max_sched_scan_reqs = 1;
9 +#else
10         wiphy->flags |= WIPHY_FLAG_SUPPORTS_SCHED_SCAN;
11 +#endif
12  #ifdef CONFIG_PNO_SUPPORT
13         wiphy->max_sched_scan_ssids = MAX_PNO_LIST_COUNT;
14  #endif
This page took 0.034741 seconds and 2 git commands to generate.