summarylogtreecommitdiffstats
path: root/5.11.patch
diff options
context:
space:
mode:
Diffstat (limited to '5.11.patch')
-rw-r--r--5.11.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/5.11.patch b/5.11.patch
new file mode 100644
index 000000000000..fbf84cfbe2bd
--- /dev/null
+++ b/5.11.patch
@@ -0,0 +1,14 @@
+--- src/rtl8814au/os_dep/linux/ioctl_cfg80211.c 2021-03-15 20:31:12.231848476 +0100
++++ src-new/rtl8814au/os_dep/linux/ioctl_cfg80211.c 2021-03-15 20:33:46.690845365 +0100
+@@ -460,7 +460,11 @@
+
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0))
+ if (started) {
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0))
++ cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, false);
++#else
+ cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0);
++#endif
+ goto exit;
+ }
+ #endif