diff options
author | graysky | 2016-10-19 16:26:43 -0400 |
---|---|---|
committer | graysky | 2016-10-19 16:26:43 -0400 |
commit | 26b7060e21adea98c49ead55a194a61d4b64df9f (patch) | |
tree | 25acf8cdfbff882989cd884a03caed14dc3b2034 /linux48.patch | |
parent | 84e9830108b6d3604abc0cd5d05c6596bac438f2 (diff) | |
download | aur-26b7060e21adea98c49ead55a194a61d4b64df9f.tar.gz |
Update to 6.30.223.271-22
Diffstat (limited to 'linux48.patch')
-rw-r--r-- | linux48.patch | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/linux48.patch b/linux48.patch new file mode 100644 index 000000000000..0f3e81906226 --- /dev/null +++ b/linux48.patch @@ -0,0 +1,52 @@ +Reference: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839629 + +--- a/src/wl/sys/wl_cfg80211_hybrid.c 2016-10-03 10:53:55.588036464 +0200 ++++ b/src/wl/sys/wl_cfg80211_hybrid.c 2016-10-03 10:54:11.911695944 +0200 +@@ -2386,8 +2386,15 @@ + s32 err = 0; + + if (wl->scan_request) { ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0) ++ struct cfg80211_scan_info info = { ++ .aborted = true ++ }; + WL_DBG(("%s: Aborting scan\n", __FUNCTION__)); +- cfg80211_scan_done(wl->scan_request, true); ++ cfg80211_scan_done(wl->scan_request, &info); ++#else ++ cfg80211_scan_done(wl->scan_request, true); ++#endif + wl->scan_request = NULL; + } + +@@ -2488,7 +2495,14 @@ + + scan_done_out: + if (wl->scan_request) { ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0) ++ struct cfg80211_scan_info info = { ++ .aborted = false ++ }; ++ cfg80211_scan_done(wl->scan_request, &info); ++#else + cfg80211_scan_done(wl->scan_request, false); ++#endif + wl->scan_request = NULL; + } + rtnl_unlock(); +@@ -2913,7 +2927,14 @@ + s32 err = 0; + + if (wl->scan_request) { +- cfg80211_scan_done(wl->scan_request, true); ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0) ++ struct cfg80211_scan_info info = { ++ .aborted = true ++ }; ++ cfg80211_scan_done(wl->scan_request, &info); ++#else ++ cfg80211_scan_done(wl->scan_request, true); ++#endif + wl->scan_request = NULL; + } + |