2 Package: broadcom-sta-source
3 Version: 6.30.223.271-3
5 Looking at the patch for kernel 4.8, I came up with the attached patch
6 (and I send this mail while running it :)
12 --- broadcom-sta.orig/src/wl/sys/wl_cfg80211_hybrid.c.orig 2016-10-03 10:53:55.588036464 +0200
13 +++ broadcom-sta.orig/src/wl/sys/wl_cfg80211_hybrid.c 2016-10-03 10:54:11.911695944 +0200
14 @@ -2386,8 +2386,15 @@
17 if (wl->scan_request) {
18 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0)
19 + struct cfg80211_scan_info info = {
22 WL_DBG(("%s: Aborting scan\n", __FUNCTION__));
23 - cfg80211_scan_done(wl->scan_request, true);
24 + cfg80211_scan_done(wl->scan_request, &info);
26 + cfg80211_scan_done(wl->scan_request, true);
28 wl->scan_request = NULL;
31 @@ -2488,7 +2495,14 @@
34 if (wl->scan_request) {
35 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0)
36 + struct cfg80211_scan_info info = {
39 + cfg80211_scan_done(wl->scan_request, &info);
41 cfg80211_scan_done(wl->scan_request, false);
43 wl->scan_request = NULL;
46 @@ -2913,7 +2927,14 @@
49 if (wl->scan_request) {
50 - cfg80211_scan_done(wl->scan_request, true);
51 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0)
52 + struct cfg80211_scan_info info = {
55 + cfg80211_scan_done(wl->scan_request, &info);
57 + cfg80211_scan_done(wl->scan_request, true);
59 wl->scan_request = NULL;